Hi. On Thu, 2007-02-22 at 09:09 -0500, Phillip Ezolt wrote: > Nigel, > > On 2/21/07, Nigel Cunningham <[EMAIL PROTECTED]> wrote: > Hi guys. > > I was wondering this morning, could it potentially help to > dump the > contents of the memory that fglrx allocates when the driver is > suspended? I have a 200M as well (same 32MB config as you, > Dave), and so > could see what I got if it would have a hope of being helpful. > > I didn't even think about doing this. I don't know if it will be > useful (or if I'll be able to grok it), but I'll take a look at it. > > If you can send me: > 1) The Dump > 2) Your procedure to generate it.
Ok. I haven't done it so far. I just wondered if it would be worth a try. I'm thinking the procedure would involve: 1) making a kernel module that could be used to run the suspend routines, make a copy of the contents of memory allocated and run the resume routines, then make the copy available to userspace and provide a way to free it again. 2) adding code to the slab and page allocation routines so that during the driver suspend and resume routines, we dump stack for each allocation and printk what was allocated and what size, to help interpret the results of #1. The memory allocated would be just about all for fglrx - most other drivers allocate very little memory during their .suspend routines, but fglrx allocates a ton (~3500 pages on my system). > Thanks for the of--Philfer, No problem. If it's going to be helpful, we all gain. I don't want to use fglrx either :) I'm not going to do this immediately though - I'm snowed under for the next 4 or so weeks, but would happily do it after that. Nigel ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV -- _______________________________________________ Dri-devel mailing list Dri-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dri-devel