Re: [PATCH 2/2] Move FAULT_FLAG_xyz into handle_mm_fault() callers
- From: Linus Torvalds <torvalds@xxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 10 Apr 2009 12:22:50 -0700 (PDT)
On Fri, 10 Apr 2009, Ying Han wrote:
How about something like this for x86? If it looks sane, i will apply
to other arches.
Eventually yes, but only _after_ doing the "mindless patch".
I really want the patches that change calling conventions to "obviously"
do nothing else (sure, they can still have bugs, but it minimizes the
risk). Then, _after_ the calling convention has changed, you can do a
separate "clean up" patch.
+ unsigned int fault_flags |= FAULT_FLAG_RETRY;
I assume you meant "fault_flags = FAULT_FLAG_RETRY;", ie without the "|=".
But yes, other than that, this is the kind of patch that makes sense -
having the callers eventually be converted to not use that "write" kind of
boolean, but use the FAULT_FLAG_WRITE flags themselves directly, and then
eventually have no "conversion" between the boolean and the fault_flag
models at all.
Linus
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH][1/2]page_fault retry with NOPAGE_RETRY
- From: Ying Han
- Re: [PATCH][1/2]page_fault retry with NOPAGE_RETRY
- From: Andrew Morton
- Re: [PATCH][1/2]page_fault retry with NOPAGE_RETRY
- From: Wu Fengguang
- Re: [PATCH][1/2]page_fault retry with NOPAGE_RETRY
- From: Linus Torvalds
- [PATCH 2/2] Move FAULT_FLAG_xyz into handle_mm_fault() callers
- From: Linus Torvalds
- Re: [PATCH 2/2] Move FAULT_FLAG_xyz into handle_mm_fault() callers
- From: Ying Han
- [PATCH][1/2]page_fault retry with NOPAGE_RETRY
- Prev by Date: Re: [PATCH -tip] x86: acpi/sleep.c saved_magic fix overflow
- Next by Date: Re: READ CAPACITY (16) failing
- Previous by thread: Re: [PATCH 2/2] Move FAULT_FLAG_xyz into handle_mm_fault() callers
- Next by thread: Re: [PATCH 2/2] Move FAULT_FLAG_xyz into handle_mm_fault() callers
- Index(es):
Relevant Pages
|