Re: [Linux-ia64] PATCH: Building on ia32

From: William Taber <>
Date: 2001-01-19 02:47:07
>But your patch breaks the lazy-execute bit scheme that IA-64 relies on to avoid
>cache flushing.  Your kernel will probably hang on any app that does dynamic
>code generation (e.g., such as due to nested C functions).
>You're probably better off implementing is_exec_access() on x86 as always
>returning 0.
>	--david


Actually, I think the best solution is to move is_exec_access() and
is_write_access() out of asm-ia64/pgtable.h, and into some machine independent
header (perhaps mm.h ?), redefining the magic numbers 2 and 4 to be VM_WRITE
and VM_EXEC respectively.  This still leaves the question of who is 
responsible for changing all of the platform specific callers of 
handle_mm_fault to reflect the new semantics?


| Will Taber                                                          |
| Software Engineer, CMBU                 E-mail |
| Rational Software Corporation           Phone:  781-676-2436        |
| 20 Maguire Road, Lexington, Mass. 02421                             |
Received on Thu Jan 18 07:49:29 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:01 EST