lkml.org 
[lkml]   [2008]   [Mar]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What if a TLB flush needed to sleep?
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.


\
 
 \ /
  Last update: 2008-03-27 02:25    [W:1.194 / U:0.556 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site