login
Login
/
Register
Search
Forums
News
Blogs
Features
Site
Home
»
Mailing list archives
»
linux-kernel
»
2008
»
January
»
24
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msync()
view
thread
!MAILaRCHIVE_VOTE_RePLACE
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
[view in full thread]
From:
Nick Piggin <nickpiggin@...>
To: Linus Torvalds <torvalds@...>
Cc: Anton Salikhmetov <salikhmetov@...>, <linux-mm@...>, <jakob@...>, <linux-kernel@...>, <valdis.kletnieks@...>, <riel@...>, <ksm@...>, <staubach@...>, <jesper.juhl@...>, <a.p.zijlstra@...>, <akpm@...>, <protasnb@...>, <miklos@...>, <r.e.wolff@...>, <hidave.darkstar@...>, <hch@...>
Subject:
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msync()
Date: Wednesday, January 23, 2008 - 9:36 pm
On Thursday 24 January 2008 04:05, Linus Torvalds wrote:
quoted text
> On Wed, 23 Jan 2008, Anton Salikhmetov wrote: > > + > > + if (pte_dirty(*pte) && pte_write(*pte)) { > > Not correct. > > You still need to check "pte_present()" before you can test any other > bits. For a non-present pte, none of the other bits are defined, and for > all we know there might be architectures out there that require them to > be non-dirty. > > As it is, you just possibly randomly corrupted the pte. > > Yeah, on all architectures I know of, it the pte is clear, neither of > those tests will trigger, so it just happens to work, but it's still > wrong.
Probably it can fail for !present nonlinear mappings on many architectures. --
unsubscribe notice
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/
Previous message: [
thread
] [
date
] [
author
]
Next message: [
thread
] [
date
] [
author
]
Messages in current thread:
[PATCH -v8 0/4] Fixing the issue with memory-mapped file times
, Anton Salikhmetov
, (Tue Jan 22, 7:21 pm)
[PATCH -v8 4/4] The design document for memory-mapped file t...
, Anton Salikhmetov
, (Tue Jan 22, 7:21 pm)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Randy Dunlap
, (Fri Jan 25, 12:27 pm)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Anton Salikhmetov
, (Fri Jan 25, 12:40 pm)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Miklos Szeredi
, (Wed Jan 23, 5:26 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Anton Salikhmetov
, (Wed Jan 23, 6:37 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Miklos Szeredi
, (Wed Jan 23, 6:53 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Miklos Szeredi
, (Wed Jan 23, 7:16 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Anton Salikhmetov
, (Wed Jan 23, 8:25 am)
Re: [PATCH -v8 4/4] The design document for memory-mapped fi...
, Miklos Szeredi
, (Wed Jan 23, 9:55 am)
[PATCH -v8 1/4] Massive code cleanup of sys_msync()
, Anton Salikhmetov
, (Tue Jan 22, 7:21 pm)
[PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys_msy...
, Anton Salikhmetov
, (Tue Jan 22, 7:21 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Linus Torvalds
, (Wed Jan 23, 1:05 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Nick Piggin
, (Wed Jan 23, 9:36 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Matt Mackall
, (Thu Jan 24, 2:56 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Peter Zijlstra
, (Wed Jan 23, 1:41 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Linus Torvalds
, (Wed Jan 23, 3:35 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Miklos Szeredi
, (Wed Jan 23, 3:55 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Linus Torvalds
, (Wed Jan 23, 5:00 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Miklos Szeredi
, (Wed Jan 23, 5:16 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Linus Torvalds
, (Wed Jan 23, 5:36 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Miklos Szeredi
, (Wed Jan 23, 8:05 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Linus Torvalds
, (Wed Jan 23, 8:11 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Hugh Dickins
, (Wed Jan 23, 6:29 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Linus Torvalds
, (Wed Jan 23, 6:41 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Hugh Dickins
, (Wed Jan 23, 8:03 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Anton Salikhmetov
, (Wed Jan 23, 1:26 pm)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Miklos Szeredi
, (Wed Jan 23, 5:41 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Peter Zijlstra
, (Wed Jan 23, 4:47 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Anton Salikhmetov
, (Wed Jan 23, 8:53 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Peter Zijlstra
, (Wed Jan 23, 4:51 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Miklos Szeredi
, (Wed Jan 23, 5:34 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Miklos Szeredi
, (Wed Jan 23, 5:51 am)
Re: [PATCH -v8 3/4] Enable the MS_ASYNC functionality in sys...
, Anton Salikhmetov
, (Wed Jan 23, 9:09 am)
[PATCH -v8 2/4] Update ctime and mtime for memory-mapped files
, Anton Salikhmetov
, (Tue Jan 22, 7:21 pm)
Re: [PATCH -v8 2/4] Update ctime and mtime for memory-mapped...
, Linus Torvalds
, (Wed Jan 23, 2:03 pm)
Re: [PATCH -v8 2/4] Update ctime and mtime for memory-mapped...
, Anton Salikhmetov
, (Wed Jan 23, 7:14 pm)
Navigation
Create content
Mailing list archives
Recent posts
Popular discussions
linux-kernel
:
Linus Torvalds
Linux 2.6.27-rc5
Greg Kroah-Hartman
[PATCH 007/196] Chinese: add translation of stable_kernel_rules.txt
Kamalesh Babulal
[Build Failure] 2.6.25-rc5-mm1 Build fails with allmodconfig probe_4drives undefined
Gabriel C
Re: Linus 2.6.23-rc1
openbsd-misc
:
linux-netdev
:
David Woodhouse
Re: [bug?] tg3: Failed to load firmware "tigon/tg3_tso.bin"
David Miller
Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock().
David Miller
[GIT]: Networking
Gerrit Renker
[PATCH 0/37] dccp: Feature negotiation - last call for comments
git
:
Colocation donated by:
Who's online
There are currently
1 user
and
747 guests
online.
Online users
nybble
Syndicate