Searched hist:d8256d487840f9c2c372f8fc615a5d378bc133f1 (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/memstick/core/ |
H A D | memstick.c | diff d8256d487840f9c2c372f8fc615a5d378bc133f1 Wed Jan 12 19:01:04 CST 2011 Alex Dubov <oakad@yahoo.com> memstick: avert possible race condition between idr_pre_get and idr_get_new
Implement the usual pattern around idr_pre_get() and idr_get_new() to handlethe situation where another thread concurrently steals this thread's idr_pre_get() preallocation.
Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|
H A D | mspro_block.c | diff d8256d487840f9c2c372f8fc615a5d378bc133f1 Wed Jan 12 19:01:04 CST 2011 Alex Dubov <oakad@yahoo.com> memstick: avert possible race condition between idr_pre_get and idr_get_new
Implement the usual pattern around idr_pre_get() and idr_get_new() to handlethe situation where another thread concurrently steals this thread's idr_pre_get() preallocation.
Signed-off-by: Alex Dubov <oakad@yahoo.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
|