Am Donnerstag, 7. Oktober 2004 14:52 schrieb Duncan Sands:
> On Thursday 07 October 2004 14:33, Manuel Odendahl wrote:
> > Hi!
> > 
> > On Thu, 7 Oct 2004, Duncan Sands wrote:
> > > Surely you are confusing with control transfers?
> > 
> > This is the code that I have in proc_bulk in the 2.4.26 kernel:
> > 
> > ...
> >    if (len1 > PAGE_SIZE)
> >       return -EINVAL;
> >    if (!(tbuf = (unsigned char *)__get_free_page(GFP_KERNEL)))
> >       return -ENOMEM;
> > ...
> 
> OK, I just downloaded a 2.4 kernel and indeed you are right.
> Why don't you backport the 2.6 code?  The required changes
> should be trivial.

And would be quite wrong. The 2.6 code allows users to trigger
an allocation of 32K in kernel space. The impact on the VM can be
dreadful. If anything you should port Manuel's code to 2.6.

        Regards
                Oliver


-------------------------------------------------------
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to