TODO list
Here's some things which need to get fixed, courtesy of Alan Cox:
* Documentation/parisc/unwritten appears out of date
* cache_init wants some printk DEBUG levels adding [In general grep printk(\" is useful to check]
* arch/parisc/kernel/irq.c has an unchecked kmalloc around line 550.
* led_get_net_stats() is interrupt-unsafe.
* ptrace is chock-full of intrusive debug code. either remove it or macroise it.
* smp_call_function has problems:
If the calling thread is real time it wont yield - you need to use a timeout
How do we handle IPI failures or retransmits?
* Why does the superio driver BUG and thus oops rather than printking an error and continuing without that driver ?
* binfmt_som still uses the old strlen_user and needs revisiting to solve DoS issues
* extern asmlinkage long sys32_sysctl(struct __sysctl_args32 *args) is a little strange. Also shouldnt oldlen32 be unsigned ?
Signature · 1 line
Revolutions do not require corporate support.
Removing the ones which are fixed (or found to be not-bugs) leaves:
Quoted 1 line
*
Documentation/parisc/unwrittenappears out of date
Grant has this one in progress.
Quoted 2 lines
*
cache_initwants some printk DEBUG levels adding [In general grep printk(\" is useful to check]
Helge in progress.
Quoted 1 line
*
led_get_net_stats()is interrupt-unsafe.
Helge in progress.
Quoted 5 lines
* ptrace is chock-full of intrusive debug code. either remove it or macroise it.
* Why does the superio driver BUG and thus oops rather than printking an error and continuing without that driver ?
Signature · 1 line
Revolutions do not require corporate support.
Quoted 4 lines · Matthew Wilcox
Here's some things which need to get fixed, courtesy of Alan Cox:
*
Documentation/parisc/unwrittenappears out of date
Here's what I have so far. I'll try to finish revivewing the rest tonight (or tomorrow) and submit bugs for what doesn't get done by the end of the week.
grant
sys_idle ./include/asm-parisc/unistd.h: return sys_idle();
sys_idle() is obsolete - remove it.
reboot_setup() arch/parisc/kernel/process.c - delete this function
machine_halt NOP. needs someone else to review.machine_power_on obsolete - delete it
exit_thread NOPflush_thread needs someone else to review
diedie_if_no_fixup Do we need to export either of these?
Don't think so. We have "die_if_kernel".
strlen_user #define strlen_user(str) lstrnlen_user(str, 0x7fffffffL)
Kind of klugy...is that ok?
do_check_pgt_cache NOP. needs someone else to review.
set_pte_phys orphaned? needs someone else to review.
ffz ./include/asm-parisc/bitops.h:extern __inline__ unsigned long ffz(unsigned long word)
I think "static __inline__" is meant...
check_bugs NOP. TBD.
I haven't looked at these yet:csum_partialcsum_partial_copycsum_partial_copy_genericcsum_partial_nocheckcsum_partial_copy_from_usercsum_tcpudp_nofoldcsum_tcpudp_magic
sigaddset
sigdelsetget_cycles