Re: HZ, preferably as small as possible

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Mon Jul 15 2002 - 13:30:21 EST


>>>>> On Mon, 15 Jul 2002 14:20:31 -0400 (EDT), "Albert D. Cahalan" <acahalan@cs.uml.edu> said:

  Albert> Perhaps you could explain how to access ELF notes from
  Albert> regular app code. That covers 2.4 kernels AFAIK, and so the
  Albert> hacks could go away as soon as Debian retires the 2.2
  Albert> kernel.

The ELF auxiliary info table is stored at the top of the user level
stack (above argv and envp). &envp[num_envs] should get you there
(check on the alignment, though).

        --david
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Jul 15 2002 - 22:00:31 EST