2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-01 23:09:33 +01:00
|
|
|
|
|
|
|
|
|
2008-02-01 23:09:33 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-01 23:09:33 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2006-03-23 03:00:45 -08:00
|
|
|
|
2008-10-10 22:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-07-20 01:11:59 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:34 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:32 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:36 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2008-10-13 21:39:31 +02:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
2008-02-02 19:56:34 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
|
|
|
|
|
2008-07-15 21:22:01 +02:00
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
2010-11-22 11:39:30 -08:00
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
|
|
|
|
|
2009-05-02 10:58:17 +02:00
|
|
|
|
|
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2008-02-02 19:56:34 +01:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2015-04-17 22:37:16 +02:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2009-03-27 12:46:36 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2011-03-30 22:57:33 -03:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2008-02-02 19:56:33 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2008-10-13 21:39:31 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:31 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:37 +01:00
|
|
|
|
2009-04-19 08:46:02 +09:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:37 +01:00
|
|
|
|
2008-02-02 19:56:37 +01:00
|
|
|
|
2009-04-19 08:46:02 +09:00
|
|
|
|
2008-02-02 19:56:37 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2008-02-02 19:56:37 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2008-10-13 21:39:30 +02:00
|
|
|
|
2009-04-19 08:46:02 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:37 +02:00
|
|
|
|
2008-02-02 19:56:33 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:34 +01:00
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
2008-10-10 22:39:37 +02:00
|
|
|
|
2008-02-02 19:56:33 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:36 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:33 +01:00
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2008-02-02 19:56:36 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-05-07 22:24:40 +09:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:37 +02:00
|
|
|
|
2008-02-02 19:56:36 +01:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:33 +01:00
|
|
|
|
2008-02-02 19:56:36 +01:00
|
|
|
|
2008-07-23 19:56:00 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-08-07 18:20:39 +02:00
|
|
|
|
2008-02-02 19:56:37 +01:00
|
|
|
|
2009-05-04 09:53:03 +02:00
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:37 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2007-07-09 12:38:05 +02:00
|
|
|
|
2009-05-07 22:24:43 +09:00
|
|
|
|
2008-07-15 21:21:56 +02:00
|
|
|
|
2009-04-19 07:00:42 +09:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-03-31 20:15:26 +02:00
|
|
|
|
|
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
2015-04-17 22:37:16 +02:00
|
|
|
|
2009-03-27 12:46:43 +01:00
|
|
|
|
2009-03-27 12:46:44 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-07 22:24:40 +09:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:36 +02:00
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
2015-04-17 22:37:16 +02:00
|
|
|
|
2015-04-17 22:37:18 +02:00
|
|
|
|
2009-04-19 07:00:42 +09:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:36 +02:00
|
|
|
|
2007-07-09 12:38:05 +02:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
|
|
|
|
|
2009-06-15 22:16:10 +02:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-04-19 07:00:42 +09:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
2009-05-01 20:35:21 +02:00
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2009-03-13 21:16:12 +01:00
|
|
|
|
2008-10-10 22:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-07-15 21:21:57 +02:00
|
|
|
|
2009-03-27 12:46:46 +01:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
|
|
|
|
|
2010-08-07 18:17:56 +02:00
|
|
|
|
2009-03-27 12:46:43 +01:00
|
|
|
|
2009-06-23 11:27:27 +00:00
|
|
|
|
2009-03-27 12:46:34 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
ide-floppy: allocate only toplevel packet commands
This makes the top-level function just allocate a single pc entry, and then
pass it down as a pointer to all the helper functions that also need one
of those "struct ide_atapi_pc" things. As far as I can tell, the use of
these things never overlaps each other, BUT I DID NOT CHECK VERY CLOSELY!
So I'm not guaranteeing this is correct, and I don't have the hardware. It
would be good for somebody who knows the code more, and has the hardware,
could please test this?
With this, ide-floppy still has fairly big stack usage, but instead of
idefloppy_ioctl [vmlinux]: 1208
ide_floppy_get_capacity [vmlinux]: 872
idefloppy_release [vmlinux]: 408
idefloppy_open [vmlinux]: 408
where those two first ones are at the very top of the list of stack users
for me, it's now
ide_floppy_get_capacity [vmlinux]: 404
ide_floppy_ioctl [vmlinux]: 364
ie they are still high, but they are no longer at the top.
Borislav: Since ide_floppy_get_capacity is passed as a function pointer to other
parts of the kernel (e.g., block layer) we need that ide_atapi_pc to be created
on stack. Also, redid stack users numbers above. The two functions missing from
Linus' original 'make stackusage' output are due to ide being
rewritten/reorganized atm.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-01-02 16:12:51 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2009-05-02 10:43:11 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
ide-floppy: allocate only toplevel packet commands
This makes the top-level function just allocate a single pc entry, and then
pass it down as a pointer to all the helper functions that also need one
of those "struct ide_atapi_pc" things. As far as I can tell, the use of
these things never overlaps each other, BUT I DID NOT CHECK VERY CLOSELY!
So I'm not guaranteeing this is correct, and I don't have the hardware. It
would be good for somebody who knows the code more, and has the hardware,
could please test this?
With this, ide-floppy still has fairly big stack usage, but instead of
idefloppy_ioctl [vmlinux]: 1208
ide_floppy_get_capacity [vmlinux]: 872
idefloppy_release [vmlinux]: 408
idefloppy_open [vmlinux]: 408
where those two first ones are at the very top of the list of stack users
for me, it's now
ide_floppy_get_capacity [vmlinux]: 404
ide_floppy_ioctl [vmlinux]: 364
ie they are still high, but they are no longer at the top.
Borislav: Since ide_floppy_get_capacity is passed as a function pointer to other
parts of the kernel (e.g., block layer) we need that ide_atapi_pc to be created
on stack. Also, redid stack users numbers above. The two functions missing from
Linus' original 'make stackusage' output are due to ide being
rewritten/reorganized atm.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-01-02 16:12:51 +01:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2009-05-02 10:43:11 +02:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2009-05-02 10:43:11 +02:00
|
|
|
|
2008-10-17 18:09:11 +02:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2008-10-17 18:09:11 +02:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2008-10-17 18:09:11 +02:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2009-05-02 10:43:11 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-05-02 10:43:11 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:16 +02:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2008-04-18 00:46:27 +02:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2009-03-31 20:15:25 +02:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2009-03-31 20:15:26 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2007-02-17 02:40:20 +01:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2009-05-02 10:26:12 +02:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2009-05-02 10:26:12 +02:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2009-05-02 10:26:12 +02:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-05-02 10:26:12 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-07-23 19:56:01 +02:00
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-10-13 21:39:35 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2009-01-02 13:34:47 +01:00
|
|
|
|
2009-05-02 10:26:12 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-07-23 19:56:01 +02:00
|
|
|
|
ide-floppy: allocate only toplevel packet commands
This makes the top-level function just allocate a single pc entry, and then
pass it down as a pointer to all the helper functions that also need one
of those "struct ide_atapi_pc" things. As far as I can tell, the use of
these things never overlaps each other, BUT I DID NOT CHECK VERY CLOSELY!
So I'm not guaranteeing this is correct, and I don't have the hardware. It
would be good for somebody who knows the code more, and has the hardware,
could please test this?
With this, ide-floppy still has fairly big stack usage, but instead of
idefloppy_ioctl [vmlinux]: 1208
ide_floppy_get_capacity [vmlinux]: 872
idefloppy_release [vmlinux]: 408
idefloppy_open [vmlinux]: 408
where those two first ones are at the very top of the list of stack users
for me, it's now
ide_floppy_get_capacity [vmlinux]: 404
ide_floppy_ioctl [vmlinux]: 364
ie they are still high, but they are no longer at the top.
Borislav: Since ide_floppy_get_capacity is passed as a function pointer to other
parts of the kernel (e.g., block layer) we need that ide_atapi_pc to be created
on stack. Also, redid stack users numbers above. The two functions missing from
Linus' original 'make stackusage' output are due to ide being
rewritten/reorganized atm.
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Borislav Petkov <petkovbb@gmail.com>
Signed-off-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
2009-01-02 16:12:51 +01:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
2008-10-10 22:39:19 +02:00
|
|
|
|
2008-10-10 22:39:36 +02:00
|
|
|
|
2008-10-13 21:39:32 +02:00
|
|
|
|
2008-04-18 00:46:25 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2014-11-27 22:57:29 +01:00
|
|
|
|
2008-07-23 19:56:01 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-13 21:39:32 +02:00
|
|
|
|
2010-02-26 00:20:38 -05:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:38 +01:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2014-11-27 22:57:29 +01:00
|
|
|
|
2010-02-26 00:20:38 -05:00
|
|
|
|
2008-07-23 19:56:01 +02:00
|
|
|
|
2008-10-10 22:39:38 +02:00
|
|
|
|
2008-10-17 18:09:11 +02:00
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
|
|
|
|
|
2008-02-02 19:56:35 +01:00
|
|
|
|
2008-10-10 22:39:27 +02:00
|
|
|
|
|
|
|
|
|
2008-10-17 18:09:10 +02:00
|
|
|
|
|
|
|
|
|
2005-04-16 15:20:36 -07:00
|
|
|
|
2008-10-17 18:09:14 +02:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|