[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20080912223156.51D4815420D@magilla.localdomain>
Date: Fri, 12 Sep 2008 15:31:56 -0700 (PDT)
From: Roland McGrath <roland@...hat.com>
To: Russell King <rmk+lkml@....linux.org.uk>
Cc: linux-arch@...r.kernel.org, utrace-devel@...hat.com,
linux-kernel@...r.kernel.org
Subject: Re: CONFIG_HAVE_ARCH_TRACEHOOK and you
> clean. The only thing I did do was invent some alternative simpler
> helper functions rather than using the user_regset_copy* functions (to
> avoid taking the address of function arguments, which needlessly forces
> them onto the stack.)
Ideally those would get inlined so that doesn't happen. Their only purpose
is to make it easier to write get/set functions in arch code. Whatever you
find preferable in your arch code is certainly fine with me. If you have
something different, or changes to those regset.h functions, that would be
of use for other arch code too, then bring them on (under a new subject
line if you don't mind).
> means sparc ends up allocating 38 * sizeof(u32) * sizeof(u32), and
> sparc64 ends up with 36 * sizeof(u64) * sizeof(u64), which must surely
> be wrong?
Yup! Sure looks like Dave skipped the step where it says "test that core
dumps work ... and produce correct results". :-)
Thanks,
Roland
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists