public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Oliver Neukum <oliver@neukum.org>
To: Markus Rechberger <mrechberger@gmail.com>
Cc: "Greg Kroah-Hartman" <gregkh@suse.de>,
	linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Increase usbfs bulk buffer size
Date: Wed, 17 Aug 2011 19:14:52 +0200	[thread overview]
Message-ID: <201108171914.52257.oliver@neukum.org> (raw)
In-Reply-To: <CA+O4pCKfWLP+ohfUVi811CRbmrb2FyoMwkmxxGJ1TF2kKtGDEA@mail.gmail.com>

Am Mittwoch, 17. August 2011, 19:07:01 schrieb Markus Rechberger:
> Hi,
> 
> this patch increases the maximum buffersize for bulk transfers, our
> devices support at least up to 46k bytes for bulk transfers.
> This patch allows us to lower the iterations between kernel and
> userspace and lower the system pressure.

You must not do this. It increases memory pressure too much
by forcing very high order allocations. If your problem is really
the number of syscalls, you must implement scatter/gather.

	Regards
		Ôliver

  reply	other threads:[~2011-08-17 17:11 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17 17:07 [PATCH] Increase usbfs bulk buffer size Markus Rechberger
2011-08-17 17:14 ` Oliver Neukum [this message]
2011-08-17 17:44   ` Markus Rechberger
2011-08-19  6:23     ` Oliver Neukum
2011-08-19 10:45       ` Markus Rechberger
2011-08-31  6:57         ` Markus Rechberger
2011-09-12 10:18           ` Markus Rechberger
2011-09-12 10:25             ` Markus Rechberger
2011-09-12 11:33             ` Greg KH
2011-09-12 12:14               ` Markus Rechberger
2011-09-12 14:07                 ` Alan Stern
2011-08-18 18:37 ` Greg KH
2011-08-18 19:13   ` Markus Rechberger
2011-08-19  5:26     ` Greg KH

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201108171914.52257.oliver@neukum.org \
    --to=oliver@neukum.org \
    --cc=gregkh@suse.de \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-usb@vger.kernel.org \
    --cc=mrechberger@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox