On May 29, 2016 11:42 AM, "Boris Petkov" <b...@alien8.de> wrote:
>
> Andy Lutomirski <l...@amacapital.net> wrote:
> >Easier said than done.  struct thread_info doesn't have addr_limit on
> >sensible architectures (e.g. sparc), and I'd rather not stick a bunch
> >of ifdefs in generic code.
>
> It's not like it doesn't have an actual address limit though - I'm guessing 
> it is something like the max userspace address on the arch... UINT_MAX or 
> somesuch.

Sure, but how do I implement that?  There's no "does this arch have
addr_limit in thread_info" general flag that I know of.

--Andy

Reply via email to