[lkml]   [2009]   [Sep]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] [14/21] HWPOISON: shmem: call set_page_dirty() with locked page
> Will it, from now on, be mandatory to dirty pages under PG_lock, and

Only data pages with mapping.

It's not a strict requirement, but if it's not done then in theory
you could not propagate an error if the page gets an memory error
at exactly the wrong time. It's probably only worth caring if you
expect to have a lot of pages like this.

> does this patch correct the last few such cases that didn't yet do that,
> or does it still leave holes?

I believe in metadata it's still widely there, but hwpoison ignores
those pages anyways.

> Can we document the requirements and or holes to it someplace near
> set_page_dirty()?

Ok I'll add a comment there.


-- -- Speaking for myself only.

 \ /
  Last update: 2009-09-11 23:59    [W:0.096 / U:6.880 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site