Re: [GIT PULL] MMC updates

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Nick Piggin
Date: Tuesday, May 8, 2007 - 11:35 pm

Pierre Ossman wrote:

If you want to ensure you always only modify host->removed from under
the spinlock, it would be enforcable by introducing an accessor function
and doing a BUG_ON(!spin_is_locked()) in there.

If you just want to ensure that host->removed is 0 at this point, you
shouldn't need any spinlocks AFAIKS... that way you can probably afford
to move it out from CONFIG_MMC_DEBUG and get wider testing.

-- 
SUSE Labs, Novell Inc.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[GIT PULL] MMC updates, Pierre Ossman, (Tue May 8, 1:45 pm)
Re: [GIT PULL] MMC updates, Pierre Ossman, (Tue May 8, 10:55 pm)
Re: [GIT PULL] MMC updates, Nick Piggin, (Tue May 8, 11:03 pm)
Re: [GIT PULL] MMC updates, Pierre Ossman, (Tue May 8, 11:27 pm)
Re: [GIT PULL] MMC updates, Nick Piggin, (Tue May 8, 11:35 pm)
Re: [GIT PULL] MMC updates, Pierre Ossman, (Wed May 9, 12:51 am)
Re: [GIT PULL] MMC updates, Nick Piggin, (Wed May 9, 1:05 am)
Re: [GIT PULL] MMC updates, Stefan Richter, (Wed May 9, 2:11 am)
Re: [GIT PULL] MMC updates, Pierre Ossman, (Wed May 9, 8:44 am)