lkml.org 
[lkml]   [2003]   [Jan]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Strong kernel lock with linux-2.5.59 : futex in Huge Pages
"dada1" <dada1@cosmosbay.com> wrote:
>
> Hello
>
> I found a way to lock a linux-2.5.59 in all cases, in using futexes landing
> in a HugeTLB page.
>
> You need to be root to be able to obtain HugePages (or CAP_IPC_LOCK
> capability)
>
> I suspect that the kernel/futex.c:__pin_page(unsigned long addr) or
> mm/memory.c:follow_page() are not HugeTLB page aware.
>
> How you can reproduce it. (dont do it of course, unless you really want to
> debug the thing)

Yup, futexes and direct-io against hugepages are bust. I was going to fix
that up this week, but got distracted.


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:32    [W:0.066 / U:1.632 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site