mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* A question about memory fragmentation
@ 2000-11-07 15:20 Abel Muñoz Alcaraz
  2000-11-07 15:28 ` Alan Cox
  2000-11-07 15:33 ` Erik Mouw
  0 siblings, 2 replies; 7+ messages in thread
From: Abel Muñoz Alcaraz @ 2000-11-07 15:20 UTC (permalink / raw)
  To: Linux Kernel

Hi everybody,
	I have a question for you; How Linux avoids the memory fragmentation in
linked lists?

	Windows 9x/NT/2000 (sorry, ;-)), have specific functions (like List_Create,
ExInitializeSListHead, ...) to create generic linked lists but I don't find
something similar in Linux.
	Has Linux a generic linked list management API ?
	Must I develop this?
	Is the kernel memory fragmentation a solved problem in Linux? (I wish it).

	I have develop my own API but I don't know if Linux can do this for me.

Thanks in advance.

Abel Muñoz Alcaraz.
Media Security Software Developer.
mailto:abel@trymedia.com
Trymedia Systems

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread
* A question about memory fragmentation
@ 2000-11-07 16:11 Abel Muñoz Alcaraz
  2000-11-07 16:38 ` Alan Cox
  2000-11-07 16:47 ` Francis Galiegue
  0 siblings, 2 replies; 7+ messages in thread
From: Abel Muñoz Alcaraz @ 2000-11-07 16:11 UTC (permalink / raw)
  To: Linux Kernel

Hi everybody,

	Thank you for your help!
	I am going to tell you more information.

	my question is about memory fragmentation when I allocate and free a lot of
small memory pieces in a kernel module.
	Can it do a memory fragmentation problem?
	Can I solve it using 'linux/list.h' API?

	I think that is better to allocate a big piece of memory and get the nodes
from this buffer with my own memory management functions; Is this correct?.

Thanks.

Abel Muñoz Alcaraz.
Media Security Software Developer.
mailto:abel@trymedia.com
Trymedia Systems

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2000-11-07 16:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-11-07 15:20 A question about memory fragmentation Abel Muñoz Alcaraz
2000-11-07 15:28 ` Alan Cox
2000-11-07 15:33 ` Erik Mouw
2000-11-07 16:58   ` Davide Libenzi
2000-11-07 16:11 Abel Muñoz Alcaraz
2000-11-07 16:38 ` Alan Cox
2000-11-07 16:47 ` Francis Galiegue

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

all inboxes | Powered by JetHome®