[lkml]   [2001]   [Oct]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: alpha 2.4.13: fix taso osf emulation
On Fri, Oct 26, 2001 at 02:45:22PM +0400, Ivan Kokshaysky wrote:
> find_vma() only after VM wraparound, which is extremely rare;
> keeps osf /sbin/loader happy, so no need for alpha-specific routine.

Yes there is, since TASO applications need to wrap at 1<<31,
not TASK_SIZE. Note that TASK_SIZE should _not_ be changed
for TASO applications, since they can explicitly map memory
above 4G. An example here is em86, in which the low 4G is
reserved for the emulated program, and the emulator lives in
high memory.

> Patch appended, comments?

I think you're working too hard to make this "efficient", and
in the process making the code hard to read. A subroutine
containing a simple search-forward loop is just as effective.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:11    [W:0.126 / U:1.856 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site