Re: [PATCH] zram: Prevent use of unmapped buffer

2012-11-26 Thread Tomas M
Good work. The patch fixes a serious bug on 3.6.5, 3.6.6, 3.6.7 and 3.6.8 I hope it gets mainlined ASAP Tomas M slax.org On Tue, Nov 27, 2012 at 8:26 AM, Nitin Gupta wrote: > The commit c8f2f0db1 ("zram: Fix handling of incompressible pages") > introduced a bug which caus

Re: [PATCH] zram: Prevent use of unmapped buffer

2012-11-26 Thread Tomas M
Good work. The patch fixes a serious bug on 3.6.5, 3.6.6, 3.6.7 and 3.6.8 I hope it gets mainlined ASAP Tomas M slax.org On Tue, Nov 27, 2012 at 8:26 AM, Nitin Gupta ngu...@vflare.org wrote: The commit c8f2f0db1 (zram: Fix handling of incompressible pages) introduced a bug which caused

Re: [patch] remove artificial software max_loop limit

2007-04-04 Thread Tomas M
> OK, here is a re-spin patch that I tested as module or > link-in-vmlinux. Both produce satisfactory result for me. Is there a plan to include this brilliant code in mainline Kernel? It works excellent, tested with 15000 loop devices, it's simply cool. Thank you for your consideration.

Re: [patch] remove artificial software max_loop limit

2007-04-04 Thread Tomas M
OK, here is a re-spin patch that I tested as module or link-in-vmlinux. Both produce satisfactory result for me. Is there a plan to include this brilliant code in mainline Kernel? It works excellent, tested with 15000 loop devices, it's simply cool. Thank you for your consideration. Tomas M

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Tomas M
red, rather it should have the same function like before - to limit the loop driver so if you use max_loop=10 for example, it should not allow loop.c to create more than 10 loops. Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Tomas M
unlimited amount of loops. Simply clever :) This will make it _completely_ backward-compatible, with very small code change I guess. Just my two cents. Thank you for reading so far. Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the b

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Tomas M
clever :) This will make it _completely_ backward-compatible, with very small code change I guess. Just my two cents. Thank you for reading so far. Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: [patch] remove artificial software max_loop limit

2007-04-01 Thread Tomas M
, rather it should have the same function like before - to limit the loop driver so if you use max_loop=10 for example, it should not allow loop.c to create more than 10 loops. Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

Re: [PATCH] max_loop limit, loop.c final working version

2007-03-29 Thread Tomas M
': $ losetup /dev/loop1000 file $ mount /dev/loop1000 /mntpnt I hope these binaries will be fixed soon. Tomas M slax.org diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 6b5b642..7db2c38 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -77,9 +77,8 @@ #include #include

Re: [PATCH] max_loop limit, loop.c final working version

2007-03-29 Thread Tomas M
': $ losetup /dev/loop1000 file $ mount /dev/loop1000 /mntpnt I hope these binaries will be fixed soon. Tomas M slax.org diff --git a/drivers/block/loop.c b/drivers/block/loop.c index 6b5b642..7db2c38 100644 --- a/drivers/block/loop.c +++ b/drivers/block/loop.c @@ -77,9 +77,8 @@ #include linux/kthread.h

Re: [PATCH] max_loop limit

2007-03-25 Thread Tomas M
? In this case, this is unusable for many as it is not backward compatible with old loop.c, am I correct? Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org

Re: [PATCH] max_loop limit

2007-03-25 Thread Tomas M
? In this case, this is unusable for many as it is not backward compatible with old loop.c, am I correct? Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo

[patch] [bugfix] loop.c

2007-03-23 Thread Tomas M
be allocated anyway. Thank you for your consideration Tomas M slax.org --- linux/drivers/block/loop.c_old 2007-03-23 14:27:04.0 + +++ linux/drivers/block/loop.c 2007-03-23 14:31:18.098458759 + @@ -1358,7 +1358,7 @@ * And now the modules code and kernel interface

Re: max_loop limit

2007-03-23 Thread Tomas M
people would need kernel patch *and* userspace utilities. So, from my point of view, it would be better to fix/enhance Linux's loop. Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordo

Re: max_loop limit

2007-03-23 Thread Tomas M
would need kernel patch *and* userspace utilities. So, from my point of view, it would be better to fix/enhance Linux's loop. Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http

[patch] [bugfix] loop.c

2007-03-23 Thread Tomas M
be allocated anyway. Thank you for your consideration Tomas M slax.org --- linux/drivers/block/loop.c_old 2007-03-23 14:27:04.0 + +++ linux/drivers/block/loop.c 2007-03-23 14:31:18.098458759 + @@ -1358,7 +1358,7 @@ * And now the modules code and kernel interface

Re: max_loop limit - paid job offer

2007-03-22 Thread Tomas M
to pay for others' time, I hope it doesn't offend you. Thank you for your consideration. Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.h

Re: max_loop limit

2007-03-22 Thread Tomas M
and which would be ACCEPTED to mainline kernel any soon? I'm offering MONEY for this task. Let's say $256 ;-) I hope I didn't offend anyone by this offer. Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTE

Re: max_loop limit

2007-03-22 Thread Tomas M
n kernel while there is no reason for it at all?" My patch simply removes the hardcoded limitation. Tomas M slax.org - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.

max_loop limit

2007-03-22 Thread Tomas M
you will include it in kernel. Or, if not, maybe this patch will start some debate regarding the current insufficient limit of 255 loop devices. Tomas M slax.org --- linux/drivers/block/loop_old.c 2007-02-04 18:44:54.0 + +++ linux/drivers/block/loop.c 2007-03-22 08:31:55.0 +0

max_loop limit

2007-03-22 Thread Tomas M
will include it in kernel. Or, if not, maybe this patch will start some debate regarding the current insufficient limit of 255 loop devices. Tomas M slax.org --- linux/drivers/block/loop_old.c 2007-02-04 18:44:54.0 + +++ linux/drivers/block/loop.c 2007-03-22 08:31:55.0 +

Re: max_loop limit

2007-03-22 Thread Tomas M
there is no reason for it at all? My patch simply removes the hardcoded limitation. Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Re: max_loop limit

2007-03-22 Thread Tomas M
and which would be ACCEPTED to mainline kernel any soon? I'm offering MONEY for this task. Let's say $256 ;-) I hope I didn't offend anyone by this offer. Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More

Re: max_loop limit - paid job offer

2007-03-22 Thread Tomas M
to pay for others' time, I hope it doesn't offend you. Thank you for your consideration. Tomas M slax.org - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read