歡迎您光臨本站 註冊首頁

linux-gate.so.1介紹補充(what is linux-gate.so.1?)

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0
從網路上找到一點有關linux-gate.so.1的資料,英文的一個email,比較簡單,相信會對大家理解有幫助.詳細的見本blog的另一篇文章:what is linux-gate.so.1.
原文地址:[url]http://www.uwsg.iu.edu/hypermail/linux/kernel/0306.2/0674.html[/url]
摘錄如下內容:

From: David Mosberger (davidm@napali.hpl.hp.com)
Date: Wed Jun 18 2003 - 14:12:21 EST

Both x86 and ia64 now provide a dynamically shared object (DSO) for
system call purposes (e.g., to speed up system calls and for signal
trampoline/sigreturn purposes). At the moment, the names of these
DSOs are different:

x86: linux-vsyscall.so.1
ia64: linux-gate.so.1

I think there is some value in using the same name on all platforms
that support such a DSO. vsyscall makes no sense for ia64, since
there are no virtual syscalls (instead, ia64 linux provides a fast
system call convention which, when coupled with light-weight system
call handlers, provide full syscall semantics at more or less the
speed of virtual system calls).

Not surprisingly, I like the name "linux-gate", since that is really
what this DSO is all about: it's a gateway between user and kernel
space. However, if this name isn't appropriate for x86, perhaps we
can find another name which will be acceptable to everybody.

I already checked with Roland McGrath (cc'd), and he agrees that a
common name would be good and said that he doesn't care about the
particular name that will be used.

Does anyone have any strong feelings about this? If not, I plan to
submit a patch to rename the x86 DSO to linux-gate.so.1.

Thanks,
--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 [url]http://vger.kernel.org/majordomo-info.html[/url]
Please read the FAQ at [url]http://www.tux.org/lkml/[/url]


[火星人 ] linux-gate.so.1介紹補充(what is linux-gate.so.1?)已經有634次圍觀

http://coctec.com/docs/linux/show-post-53852.html