Hi, Thanks for reply. What if memory is allocated using dma_alloc_coherent where the physical address is from dedicated area of RAM(which is not addressable by OS)? I also believe that all the buffers and state variables are taken care by OS kernel. Right? Thanks Raj > From: oneukum@xxxxxxx > To: linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx > Subject: Re: Question about hibernation > Date: Fri, 18 Mar 2011 15:09:02 +0100 > CC: rajkumar278@xxxxxxxxxxx > > Am Freitag, 18. März 2011, 14:45:24 schrieb Raj Kumar: > > > > Hi, > > > > I have following question regarding the hibernation. If a device driver uses dedicated memory (dedicated memory in linux which is not OS addressable e.g. device driver is using some pages from dedicated memory), When the system hibernates, will this be responsibility of device driver to save this area > > or > > OS hibernation procedure save this area of ram (dedicated memory area) into swap image? > > If you got it from get_free_pages (at the end of a long call chain) the > kernel saves it. If not, it is your problem. > > HTH > Oliver |
_______________________________________________ linux-pm mailing list linux-pm@xxxxxxxxxxxxxxxxxxxxxxxxxx https://lists.linux-foundation.org/mailman/listinfo/linux-pm