Re: x86-cache-pollution-aware-__copy_from_user_ll.patch added to -mm tree

2005-09-04 Thread David S. Miller
From: Andrew Morton <[EMAIL PROTECTED]> Date: Sun, 4 Sep 2005 14:42:18 -0700 > It seems a strange thing to check though. Do we really need it? Other platforms already do, it's a very good sanity check. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a me

Re: x86-cache-pollution-aware-__copy_from_user_ll.patch added to -mm tree

2005-09-04 Thread David S. Miller
From: Dave Jones <[EMAIL PROTECTED]> Subject: Re: x86-cache-pollution-aware-__copy_from_user_ll.patch added to -mm tree Date: Sun, 4 Sep 2005 16:23:33 -0400 > On Sun, Sep 04, 2005 at 01:16:00PM -0700, Andrew Morton wrote: > > unsigned long __copy_to_user_ll(void __user *to, c

Re: x86-cache-pollution-aware-__copy_from_user_ll.patch added to -mm tree

2005-09-04 Thread Hiro Yoshioka
From: Andrew Morton <[EMAIL PROTECTED]> > Dave Jones <[EMAIL PROTECTED]> wrote: > > > > On Sun, Sep 04, 2005 at 01:16:00PM -0700, Andrew Morton wrote: > > > unsigned long __copy_to_user_ll(void __user *to, const void *from, > > unsigned long n) > > > { > > > BUG_ON((long) n < 0);

Re: x86-cache-pollution-aware-__copy_from_user_ll.patch added to -mm tree

2005-09-04 Thread Andrew Morton
Dave Jones <[EMAIL PROTECTED]> wrote: > > On Sun, Sep 04, 2005 at 01:16:00PM -0700, Andrew Morton wrote: > > unsigned long __copy_to_user_ll(void __user *to, const void *from, > unsigned long n) > > { > > BUG_ON((long) n < 0); > > Ehh? It's unsigned. This will never be true. It's cast

Re: x86-cache-pollution-aware-__copy_from_user_ll.patch added to -mm tree

2005-09-04 Thread Dave Jones
On Sun, Sep 04, 2005 at 01:16:00PM -0700, Andrew Morton wrote: > unsigned long __copy_to_user_ll(void __user *to, const void *from, unsigned > long n) > { > BUG_ON((long) n < 0); Ehh? It's unsigned. This will never be true. > +unsigned long > +__copy_from_user_ll_nocache(void *to, c