On Tue, Mar 08, 2005 at 06:31:27AM +, Christoph Hellwig wrote:
> On Mon, Mar 07, 2005 at 10:11:55PM -0800, Matt Mackall wrote:
> > > - when called with the major argument as 0 it returns an unused major
> > > number
> > >from the top of the old 255 entries major list. This should be
>
On Mon, Mar 07, 2005 at 10:11:55PM -0800, Matt Mackall wrote:
> > - when called with the major argument as 0 it returns an unused major
> > number
> >from the top of the old 255 entries major list. This should be replaced
> >by a real dynamic dev_t allocator, similar to
On Tue, Mar 08, 2005 at 05:56:27AM +, Christoph Hellwig wrote:
> On Mon, Mar 07, 2005 at 09:50:35PM -0800, Andrew Morton wrote:
> > > register_blkdev only happens at module_init time (and in fact should go
> > > away completely, so I'm not happy wit hthe surgey to keep it barely alive
> > > at
On Mon, Mar 07, 2005 at 09:33:02PM -0800, Andrew Morton wrote:
> Matt Mackall <[EMAIL PROTECTED]> wrote:
> >
> > + /* search for insertion point in reverse for dynamic allocation */
> > + list_for_each_prev(l, list) {
>
> hrmph. Any time we do anything in O(n) time, some smarty comes along
On Mon, Mar 07, 2005 at 09:50:35PM -0800, Andrew Morton wrote:
> > register_blkdev only happens at module_init time (and in fact should go
> > away completely, so I'm not happy wit hthe surgey to keep it barely alive
> > at all)
>
> Is anyone working on that?
I had a patch from a long time ago
Christoph Hellwig <[EMAIL PROTECTED]> wrote:
>
> On Mon, Mar 07, 2005 at 09:33:02PM -0800, Andrew Morton wrote:
> > Matt Mackall <[EMAIL PROTECTED]> wrote:
> > >
> > > + /* search for insertion point in reverse for dynamic allocation */
> > > +list_for_each_prev(l, list) {
> >
> > hrmph.
On Mon, Mar 07, 2005 at 09:33:02PM -0800, Andrew Morton wrote:
> Matt Mackall <[EMAIL PROTECTED]> wrote:
> >
> > + /* search for insertion point in reverse for dynamic allocation */
> > + list_for_each_prev(l, list) {
>
> hrmph. Any time we do anything in O(n) time, some smarty comes along
Matt Mackall <[EMAIL PROTECTED]> wrote:
>
> + /* search for insertion point in reverse for dynamic allocation */
> +list_for_each_prev(l, list) {
hrmph. Any time we do anything in O(n) time, some smarty comes along with
a workload which blows us out of the water. Although it's hard to
(This patch is against -mm1, which has different locking than mainline)
This patch introduces a simple allocator for tracking reservations of
block and character device ranges. After poking around, I came to the
conclusion that we can't avoid having a separate data structure for
reservations vs
(This patch is against -mm1, which has different locking than mainline)
This patch introduces a simple allocator for tracking reservations of
block and character device ranges. After poking around, I came to the
conclusion that we can't avoid having a separate data structure for
reservations vs
Matt Mackall [EMAIL PROTECTED] wrote:
+ /* search for insertion point in reverse for dynamic allocation */
+list_for_each_prev(l, list) {
hrmph. Any time we do anything in O(n) time, some smarty comes along with
a workload which blows us out of the water. Although it's hard to think
On Mon, Mar 07, 2005 at 09:33:02PM -0800, Andrew Morton wrote:
Matt Mackall [EMAIL PROTECTED] wrote:
+ /* search for insertion point in reverse for dynamic allocation */
+ list_for_each_prev(l, list) {
hrmph. Any time we do anything in O(n) time, some smarty comes along with
a
Christoph Hellwig [EMAIL PROTECTED] wrote:
On Mon, Mar 07, 2005 at 09:33:02PM -0800, Andrew Morton wrote:
Matt Mackall [EMAIL PROTECTED] wrote:
+ /* search for insertion point in reverse for dynamic allocation */
+list_for_each_prev(l, list) {
hrmph. Any time we do
On Mon, Mar 07, 2005 at 09:50:35PM -0800, Andrew Morton wrote:
register_blkdev only happens at module_init time (and in fact should go
away completely, so I'm not happy wit hthe surgey to keep it barely alive
at all)
Is anyone working on that?
I had a patch from a long time ago that just
On Mon, Mar 07, 2005 at 09:33:02PM -0800, Andrew Morton wrote:
Matt Mackall [EMAIL PROTECTED] wrote:
+ /* search for insertion point in reverse for dynamic allocation */
+ list_for_each_prev(l, list) {
hrmph. Any time we do anything in O(n) time, some smarty comes along with
a
On Tue, Mar 08, 2005 at 05:56:27AM +, Christoph Hellwig wrote:
On Mon, Mar 07, 2005 at 09:50:35PM -0800, Andrew Morton wrote:
register_blkdev only happens at module_init time (and in fact should go
away completely, so I'm not happy wit hthe surgey to keep it barely alive
at all)
On Mon, Mar 07, 2005 at 10:11:55PM -0800, Matt Mackall wrote:
- when called with the major argument as 0 it returns an unused major
number
from the top of the old 255 entries major list. This should be replaced
by a real dynamic dev_t allocator, similar to alloc_chrdev_region.
On Tue, Mar 08, 2005 at 06:31:27AM +, Christoph Hellwig wrote:
On Mon, Mar 07, 2005 at 10:11:55PM -0800, Matt Mackall wrote:
- when called with the major argument as 0 it returns an unused major
number
from the top of the old 255 entries major list. This should be
replaced
18 matches
Mail list logo