This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.
Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
Roland McGrath wrote:
Well, this is the cleanest solution but... Function tables in DSOs are not cheap. I cannot say in the moment whether there is a better method but I want to mention this here for the benefit of all. If you have to design some code in future avoiding function tables is advised.I implemented this in what seemed the clean way, which was to have a separate "maybe_mmap" jump table that is used when a possibly-mmap'able file is first opened.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |