[Subject Prev][Subject Next][Thread Prev][Thread Next][Subject Index][Thread Index]

Re: Some memory reallocation in kernel mode



Hi
   I think you can use kfree function to free the memory in kernel level.
From
Ch.R.K.Prasad


On Fri, 08 Dec 2000, Ketan Mehta wrote:
> hi ,
> 	this is in linux , some device drive ... here there is nothint to do
> with sgi box.
> 
> 	kmalloc is allocation. what i want to know is - what realloc does in
> user space, is there something like that in kernel space. or i have to
> do manually. 
> 
> 	see my original post for query.
> 
> >         which kernel ? Linux ? Not very obvious, even though we are on a
> > Linux list.. because a lot many of your earlier letters would betray that
> > you are on SGI.. so are you on SGI/IRIX or SGI/Linux ??
> > 
> > In any case, check out kmalloc.
> > 
> 
> -- 
> |------------------------------------------------------------|
> |It is better to keep your mouth shut and be thought a fool, |
> |            than to open it and remove all doubt.	     |
> |------------------------------------------------------------|
> |Ketan Mehta | Wipro | Bangalore | Ph 91-80-5722296/93-5240  |
> |ketan.mehta@xxxxxxxxx | ketan_kmehta@xxxxxxxxxxxx (personal)|
> |------------------------------------------------------------|
> 
> ---------------------------------------------
> Find out more about this and other Linux India
> mailing lists at http://lists.linux-india.org/