[lkml]   [2011]   [Mar]   [27]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [GIT PULL] Core block IO bits for 2.6.39
On 03/24/2011 03:43 PM, Jens Axboe wrote:
> Hi Linus,
> This is the main pull request for the block IO layer and friends for
> 2.6.39.
> There are two major things in this tree:
> - The removal of the per-device plugging state for disks. On fast
> devices, it ended up hammering the queue lock quite hard. The new
> scheme puts the plugging state on the stack and allows an IO submitter
> to finish his batch of IO before pushing it to the queue. Once that
> push starts, we'll insert/merge with the existing queue.
> A pointer to this plugging context is stored in the task structure. If
> a task ends up blocking before it has submitted it's IO (usual cause
> would be memory allocation of some sort), the plugged list is
> auto-submitted before the task goes to sleep.

This is the fourth "do something if preempted" hook (the other three are
kvm, cmwq, and perf). Why not use sched notifiers for this?

error compiling committee.c: too many arguments to function

 \ /
  Last update: 2011-03-27 13:53    [W:0.111 / U:0.304 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site