Re: [patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-07 Thread Miklos Szeredi
> (cc's reinstated) > > On Wed, 07 Mar 2007 09:09:50 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > > > There's a race in clear_page_dirty_for_io() that allows a page to have > > cleared PG_dirty, while being mapped read-write into the page table(s). > > I assume you refer to this: > >

Re: [patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-07 Thread Andrew Morton
(cc's reinstated) On Wed, 07 Mar 2007 09:09:50 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > There's a race in clear_page_dirty_for_io() that allows a page to have > cleared PG_dirty, while being mapped read-write into the page table(s). I assume you refer to this: *

Re: [patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-07 Thread Andrew Morton
(cc's reinstated) On Wed, 07 Mar 2007 09:09:50 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: There's a race in clear_page_dirty_for_io() that allows a page to have cleared PG_dirty, while being mapped read-write into the page table(s). I assume you refer to this: * FIXME!

Re: [patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-07 Thread Miklos Szeredi
(cc's reinstated) On Wed, 07 Mar 2007 09:09:50 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: There's a race in clear_page_dirty_for_io() that allows a page to have cleared PG_dirty, while being mapped read-write into the page table(s). I assume you refer to this: *

Re: [patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-06 Thread Andrew Morton
On Tue, 06 Mar 2007 19:04:44 +0100 Miklos Szeredi <[EMAIL PROTECTED]> wrote: > Fix race in clear_page_dirty_for_io() as suggested by Linus. please describe this race. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More

[patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-06 Thread Miklos Szeredi
From: Miklos Szeredi <[EMAIL PROTECTED]> Fix race in clear_page_dirty_for_io() as suggested by Linus. Split the page dirtying into two phases: 1) done for each dirtying attempt 2) done only when the page's dirty flag changed from clean to dirty For 1 a_ops->set_page_dirty() is used

[patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-06 Thread Miklos Szeredi
From: Miklos Szeredi [EMAIL PROTECTED] Fix race in clear_page_dirty_for_io() as suggested by Linus. Split the page dirtying into two phases: 1) done for each dirtying attempt 2) done only when the page's dirty flag changed from clean to dirty For 1 a_ops-set_page_dirty() is used (couldn't

Re: [patch 1/8] fix race in clear_page_dirty_for_io()

2007-03-06 Thread Andrew Morton
On Tue, 06 Mar 2007 19:04:44 +0100 Miklos Szeredi [EMAIL PROTECTED] wrote: Fix race in clear_page_dirty_for_io() as suggested by Linus. please describe this race. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo