public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.11 breaks modules gratuitously
@ 2005-03-18 15:33 Greg Stark
  2005-03-18 16:00 ` Ian Campbell
  0 siblings, 1 reply; 5+ messages in thread
From: Greg Stark @ 2005-03-18 15:33 UTC (permalink / raw)
  To: linux-kernel


When you guys go on these "make needlessly global code static" kicks you
should maybe consider that even functions that aren't currently used by any
other area of the tree might be useful for module writers.

Instead of just checking which functions are currently used by other parts of
the kernel perhaps you should think about what makes a logical API and stick
to that, even if not all of the functions are currently used.

In the case of net/core/datagram.c, why make skb_copy_datagram private but
leave skb_copy_datagram_iovec global? If the latter is a useful public
function why not the former?

In particular vmware used skb_copy_datagram. So 2.6.11 broke vmware for no
good reason.



<bunk@stusta.de>
	[NET]: misc cleanups
	
	The patch below contains the following cleanups:
	- make needlessly global code static
	- remove the following unused global functions:
	  - datagram.c: skb_copy_datagram
	  - iovec.c: memcpy_tokerneliovec
	- remove the following unneeded EXPORT_SYMBOL's:
	  - datagram.c: skb_copy_datagram
	  - dev.c: ing_filter
	  - iovec.c: memcpy_tokerneliovec
	  - netpoll.c: netpoll_send_skb
	  - rtnetlink.c: rtnetlink_dump_ifinfo
	  - sock.c: sock_alloc_send_pskb
	
	Signed-off-by: Adrian Bunk <bunk@stusta.de>
	Signed-off-by: David S. Miller <davem@davemloft.net>


-- 
greg


^ permalink raw reply	[flat|nested] 5+ messages in thread
[parent not found: <3JrTO-1C4-41@gated-at.bofh.it>]

end of thread, other threads:[~2005-03-18 19:14 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-03-18 15:33 2.6.11 breaks modules gratuitously Greg Stark
2005-03-18 16:00 ` Ian Campbell
     [not found] <3JrTO-1C4-41@gated-at.bofh.it>
2005-03-18 18:49 ` Jean Delvare
2005-03-18 19:01   ` John Kacur
2005-03-18 19:14     ` Adrian Bunk

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox