> > BTW, this says that this is the second oops: "[#2]".
> > What was the first one?
> Apr 21 10:53:27 www adaptec-smbe: aiomgrd startup succeeded
> Apr 21 10:53:27 www kernel: Unable to handle kernel NULL
> pointer dereference
> at virtual address 0034
Seems to me like someone is issuing I
This patch reduces stack usage in megasas_probe_one() from to 2200 to
156. A patched version of gcc 3.4.3 with -fno-unit-at-a-time disabled
was used on i386 platform.
Signed-off-by: Yum Rayan <[EMAIL PROTECTED]>
--- linux-2.6.12-rc2-mm3.a/drivers/scsi/megaraid/megaraid_sas.c 2005-04-14
In the diff
>+ if (old_hdr)
>+ kfree(old_hdr);
>+ return retval;
The check for NULL is not needed.
Thanks,
Rayan
On Mon, 28 Mar 2005 19:48:10 +1000, Douglas Gilbert <[EMAIL PROTECTED]> wrote:
> The attachment combines the most recent patch from
&
umn
editor. The second "+" is not a statement but the second argument of
the __wait_event_interruptible macro. So this is verified good.
Reworked patch follows.
Regards,
Rayan
Summary: Reduce stack usage in sg_read() and sg_ioctl()
Signed-off-by: Yum Rayan <[EMAIL PROTECTED]>
diff
Attempt to reduce stack usage in sg.c.
Used checkstack.pl script to measure stack usage and noted follows:
Before patch:
sg_ioctl - 412
sg_read - 200
After patch:
sg_ioctl - 92
sg_read - 96
Thanks,
Rayan
Signed-off-by: Yum Rayan <[EMAIL PROTECTED]>
diff -Nur linux-2.6.11.5.orig/driver
5 matches
Mail list logo