On Mon, Jun 28, 2010 at 12:05 AM, Mulyadi Santosa <mulyadi.sant...@gmail.com> wrote: > On Mon, Jun 28, 2010 at 09:54, sam shepperd <samshepp...@gmail.com> wrote: >> Kindly thanks - that helps. However the virtual address of the kernel >> symbol I am looking up in memory is not within current->mm. > > Are you sure? Theoritically, kernel address space is mapped throughout > all the task structure (e.g current->mm etc) > > After all, if it's a symbol address you're looking for, have you tried > http://lxr.linux.no/linux+v2.6.34/+code=kallsyms_lookup_name and see > if it suits you?
I think so. The address returned by kallsyms_lookup_name is 0xCxxxxxxx (kernel virtual memory on x86). I searched and it did not occur inside current->mm for me (I am using a module so the ranges returned were userspace virtual memory for insmod). -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecar...@nl.linux.org Please read the FAQ at http://kernelnewbies.org/FAQ