|
|
| [Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] |
On Wed, 2008-03-26 at 18:19 -0700, Christoph Lameter wrote: > On Wed, 26 Mar 2008, Thomas Gleixner wrote: > > > Please use a mutex, not a semaphore. semaphores should only be used > > when you need a counting sempahore. > > Seems that mutexes are mainly useful for 2 processor systems since they > do not allow concurrent read sections. We want multiple processors able > to reclaim pages within the same vma or file concurrently. This means > processors need to be able to concurrently walk potentially long lists of > vmas. confusion between semaphores and rwsems -- To unsubscribe from this list: send the line "unsubscribe linux-arch" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html
[Linux Kernel] [Kernel Newbies] [x86 Platform Driver] [Share Photos] [Security] [Netfilter] [Bugtraq] [Linux FS] [Photo] [Yosemite] [Yosemite Discussion] [MIPS Linux] [ARM Linux] [Linux Security] [Linux RAID] [Samba] [Video 4 Linux] [Device Mapper] [Linux Resources]
![]() |