* [Kernel-janitors] Lets update our TODO
@ 2004-06-26 15:44 Domen Puncer
0 siblings, 0 replies; 2+ messages in thread
From: Domen Puncer @ 2004-06-26 15:44 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 3214 bytes --]
Hi.
It's terrible, please help updating it.
(It can be a real PITA, when someone new comes, and can't pick any real
work from TODO)
Changes:
register_reboot_notifier() always returns 0
skb_alloc doesn't exist
there is no get_free_pages() (replace it with __get_free_page[s]?())
init_etherdev() doesn't exist
ips, ip2main look bogus, ips_detect does not kmalloc anything;
There's a comment in isapnp/core.c that release_region's were added
(dated 2001-06-03!).
proc_register() is now static, used by internal procfs routines.
loops_per_sec is no more.
Domen
--- kj-todo 2004-06-26 17:37:16.000000000 +0200
+++ kj-todo-new 2004-06-26 17:36:56.000000000 +0200
@@ -15,26 +15,17 @@
--------------------------------------------------------------------------
Audit return codes (and handle failure correctly) for..
- request_region()
-- register_reboot_notifier()
- request_irq()
-- kmalloc(), vmalloc(), skb_alloc(), etc
+- kmalloc(), vmalloc(), etc.
- register_netdev() has to be checked as well
- misc_register() (yes, it can fail, murphy's law applies here as well)
- scsi_register()
-- proc_*_create()
+- create_proc_*()
- pci_map_* might return 0 for a valid mapping.
Some code tests mapping for a non-zero value, which is incorrect.
-- get_free_pages()
-- init_etherdev()
- drivers allocating net_device with init_etherdev doesn't need zeroing it
- (init_etherdev does this for us)
+- __get_free_pages() and __get_free_page()
- ioremap() -- Some are using this as a pointer, which is wrong.
-SUSPECTS:
-- drivers/scsi/ips.c for resource leaks (ips_release doesn't seems
- to release all the kmalloc memory it got in ips_detect. (quick look)
-- drivers/char/ip2main.c (init_etherdev)
-
-----------------------------------------------------------------------------
Balancing functions.
Make sure calls to certain functions are matched by the relevant function at
@@ -48,14 +39,10 @@
- check that net_device interrupt functions use dev_kfree_skb_irq and not
just dev_kfree_skb
-SUSPECTS:
-- check isapnp.c: doesn't release regions on failure
-
-----------------------------------------------------------------------------
Remove unneeded historic code / New API conversions.
- checking for NULL on probe routines for net drivers
- convert drivers to new PCI API
-- proc_register() is dead. Use create_proc_read_entry() instead. (from Al Viro on lkml)
- Replace uses of suser() and fsuser() with capability checks.
- get rid of save_flags_cli, use local_irq_save instead
- get rid of check_region, use just request_region checking its return (2.2
@@ -154,9 +141,6 @@
-----------------------------------------------------------------------------
- prumpf suggested:
-- make sure drivers never read loops_per_sec - it might change under
- them (prumpf did this in 2.2.18pre series, need forward port to 2.4)
-
- fix watchdog drivers to use link order rather than explicit
initialization calls (i810 is particularly broken)
@@ -209,6 +193,8 @@
}
remove_wait_queue(&waitqueue, &wait);
+(see replyes, this is still buggy)
+
When you want to handle signals you can check for them before or after the
condition check. Also use TASK_INTERRUPTIBLE in this case.
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Kernel-janitors] Lets update our TODO
@ 2004-07-05 13:39 maximilian attems
0 siblings, 0 replies; 2+ messages in thread
From: maximilian attems @ 2004-07-05 13:39 UTC (permalink / raw)
To: kernel-janitors
[-- Attachment #1: Type: text/plain, Size: 673 bytes --]
On Sat, 26 Jun 2004, Domen Puncer wrote:
> Hi.
>
> It's terrible, please help updating it.
> (It can be a real PITA, when someone new comes, and can't pick any real
> work from TODO)
>
>
> Changes:
> register_reboot_notifier() always returns 0
> skb_alloc doesn't exist
> there is no get_free_pages() (replace it with __get_free_page[s]?())
> init_etherdev() doesn't exist
> ips, ip2main look bogus, ips_detect does not kmalloc anything;
>
> There's a comment in isapnp/core.c that release_region's were added
> (dated 2001-06-03!).
> proc_register() is now static, used by internal procfs routines.
>
> loops_per_sec is no more.
great check -> commited.
thx maks
[-- Attachment #2: Type: text/plain, Size: 167 bytes --]
_______________________________________________
Kernel-janitors mailing list
Kernel-janitors@lists.osdl.org
http://lists.osdl.org/mailman/listinfo/kernel-janitors
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2004-07-05 13:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-05 13:39 [Kernel-janitors] Lets update our TODO maximilian attems
-- strict thread matches above, loose matches on Subject: below --
2004-06-26 15:44 Domen Puncer
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.