Re: komd issues - was [Re: [openMosix-general] openmosix 2.4.26 in 2.4.31?]

tab-mTI/[email protected] (Vincent Hanquez) Thu, 21 Sep 2006 22:18:27 +0200
Newsgroups gmane.linux.cluster.openmosix.devel
Message-ID <[email protected]>
On Thu, Sep 21, 2006 at 08:13:12PM +0200, Florian Delizy wrote:
> What's the link between LD_ASSUME_KERNEL and the syscall table ?

There's no direct link to syscall table, however, as Matt's link shows,
it affect the way syscall are *reached*.

Instead of going through direct software interrupt invocation, it jumps
to the VDSO, and execute some code there. it's give the kernel the
opportunity to execute the best type of syscall entrance (sysenter on p4
for example), without having to change the glibc or recompile it.

When you turn LD_ASSUME_KERNEL to an older kernel, glibc is executing
the old way to do syscalls.. which is software interrupt.

-- 
Vincent Hanquez

-------------------------------------------------------------------------
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