FREEDOM. FRIENDS. FEATURES. FIRST. 페도라 한국 사용자 모임

VDSO (Virutal Dynamic Shared Object)

게시판 Tech/Tip VDSO (Virutal Dynamic Shared Object)

태그: 

  • This topic has 1개 답변, 2명 참여, and was last updated 16 years, 6 months 전에 by
    ELem. This post has been viewed 1452 times
  • #12042
    인베인
    참가자
      게시글147 댓글411 총합558
    @leemgs
     


    * 외국얘들과 IRC으로 논의하면서 정리했던 노트입니다.

    About VDSO (Virutal Dynamic Shared Object)


    * http://mail.nl.linux.org/kernelnewbies/2008-02/msg00257.html
    * http://lwn.net/Articles/190139/
    * http://www.trilithium.com/johan/2005/08/linux-gate/
    * http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-01/msg03739.html
     (Roland MCGrath's VDSO Linux Patch)

    Virtual Dynamically-linked Shared Object, a kernel-provided shared library that helps userspace
    perform a few kernel actions without the overhead of a system call, as well as automatically
    choosing the most efficient syscall mechanism. Also called the "vsyscall page".

    vDSO is virtual Dynamic Shared Object and the vdso32 is designed to prevent stack overflow.
    A shared object exposed by the kernel at a fixed address in every process' memory.
    We can verify  vDSO map information via "#>cat /proc//maps".
    So that instead doing int80 or SYSCALL, the app can simply jump to vDSO address and
    passing required parameters. the vDSO will decide which one will be used,
    newer SYSCALL/SYSENTER or int 0x80 depending on machine capability or other settings.
    Actually "lib/modules/vdso" are part of kernel, but made accessible from user space.

    Roland MCGrath's VDSO Linux Patch is located in
    http://linux.derkeiler.com/Mailing-Lists/Kernel/2007-01/msg03739.html website.
    This patch makes CONFIG_COMPAT_VDSO disable the real vma and  use the fixmap area consistently.
    This makes it actually compatible with what the old vdso implementation did.
    If "/proc/sys/vm/vdso_enabled" turned on, the kernel randomizes the vDSO address as early as possible.

    * 오픈소스는 Open Innovationa & 윈윈전략을 도모할 지언정 절대 공짜(무료)임을 뜻하지 않는다.치

0 답변 글타래를 보이고 있습니다
    • #12595
      ELem
      참가자
        게시글74 댓글709 총합783
      @Bardisch
       

      뭐..뭔가 현업 뛰시는분들은 다르시군요;

       
0 답변 글타래를 보이고 있습니다
  • 답변은 로그인 후 가능합니다.

지금 이 순간


Fedora에 관한 질문
새로운 사이트 오픈 완료(Grand Opening)
자답...
아이콘이랑 사진이 업로드가 안되네요 '';
digikam - 사진관리 소프트웨어
LVM 쓰시는분들 F13 설치할때 파티셔닝에서 자주 죽지 않나요?
c언어 보드 게임 입니다
Fedora에서 make-3.81-18.fc12.src.rpm 설치
Fedora 21 다음주 12월 9일 릴리즈 예정
ffmpeg-2.6 Spec 파일(include opencl-headers-2.0 포함)