[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lock_page/LockPage/UnlockPage
Just a minor nit, but it seems to me that if UnlockPage wakes up
sleepers, LockPage should go to sleep.
The interface:
LockPage
UnlockPage
TryLockPage(page)
should all be bit operators and then:
lock_page
unlock_page
trylock_page
should be the ones that actually sleep/wakeup.
Not a big deal, but ....
Jim
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/