On Thu, Mar 21, 2013 at 09:35:42AM -0700, Kent Overstreet wrote: > The number of outstanding kiocbs is one of the few shared things left that > has to be touched for every kiocb - it'd be nice to make it percpu. > > We can make it per cpu by treating it like an allocation problem: we have > a maximum number of kiocbs that can be outstanding (i.e. slots) - then we > just allocate and free slots, and we know how to write per cpu allocators. > > So as prep work for that, we convert reqs_active to reqs_available.
Reviewed-by: "Theodore Ts'o" <ty...@mit.edu> -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/