Re: 2.6.18-rc1-mm1

From: Michal Piotrowski
Date: Sun Jul 09 2006 - 09:19:08 EST


On 09/07/06, Andrew Morton <akpm@xxxxxxxx> wrote:
On Sun, 9 Jul 2006 13:02:48 +0200
"Michal Piotrowski" <michal.k.k.piotrowski@xxxxxxxxx> wrote:

> TP hangs on
>
> <<<test_output>>>
> setrlimit01 1 PASS : RLIMIT_NOFILE functionality is correct
> setrlimit01 0 WARN : caught signal 2, not SIGSEGV
> <<<execution_status>>>
> duration=1071 termination_type=driver_interrupt termination_id=1 corefile=no
> cutime=0 cstime=1
> <<<test_end>>>

Yep, thanks.


RLIMIT_FSIZE can cause generic_write_checks() to reduce `count'. So we cannot
assume that `count' is equal to the total length size of the incoming iovec.


Problem solved, thanks.

Regards,
Michal

--
Michal K. K. Piotrowski
LTG - Linux Testers Group
(http://www.stardust.webpages.pl/ltg/wiki/)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/