On Sat, 19 Jul 2008 09:59:11 +0900 Tejun Heo <htejun@gmail.com> wrote:I'm not sure how this can be solved by an inner loop. My primary use case is: 1. Wait for interrupt 2. Write n bytes 3. goto 1 n has no guarantee of being aligned to any page boundaries, so state needs to be kept between each invokation of writing a chunk of data. I doubt I'm alone in this use pattern (in fact, most device drivers using PIO should do something similar). --=20 -- Pierre Ossman WARNING: This correspondence is being monitored by the Swedish government. Make sure your server uses encryption for SMTP traffic and consider using PGP for end-to-end encryption.
| Peter Zijlstra | [RFC][PATCH 7/7] lockdep: spin_lock_nest_lock() |
| Gabriel C | Re: 2.6.24-rc2-mm1 |
| Andrew Morton | Re: [PATCH 2.6.21] cramfs: add cramfs Linear XIP |
| Jiri Kosina | Re: 2.6.21-rc5-mm4 |
git: | |
| Gregory Haskins | [RFC PATCH 00/17] virtual-bus |
| Jarek Poplawski | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 0/37] dccp: Feature negotiation - last call for comments |
