Thread (36 messages) 36 messages, 5 authors, 2003-02-05

Re: hugepage patches

From: Eric W. Biederman <hidden>
Date: 2003-02-05 12:25:45

Andrew Morton [off-list ref] writes:
ebiederm@xmission.com (Eric W. Biederman) wrote:
quoted
I can't imagine it being useful to guys like oracle without MAP_SHARED
support....
MAP_SHARED is supported.  I haven't tested it much though.
Given that none of the standard kernel idioms to prevent races in
this kind of code are present, I would be very surprised if it
was not racy.

- inode->i_sem is not taken to protect inode->i_size.
- After successfully allocating a page, a test is not made to see if
  another process with the same mapping has allocated the page first.

Eric
--
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-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help