On Mon, 4 Jul 2011 13:27:51 +0100, Alan Cox <alan at lxorguk.ukuu.org.uk> wrote: > Found this going over intel_bios.c and cross comparing it with the > Intel/IMG driver intel_bios.c > > temp_mode = kzalloc(sizeof(*temp_mode), GFP_KERNEL);
This object is about 216 bytes long; would it be reasonable to allocate it on the stack? Or is that pushing stack allocations too far? -- keith.packard at intel.com -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: not available URL: <http://lists.freedesktop.org/archives/dri-devel/attachments/20110704/f671f4c3/attachment.pgp>
