Re: [Libhugetlbfs-devel] [RFC][PATCH] Optionally add "[hostname:pid] " to output messages

2008-04-08 Thread David Gibson
On Tue, Apr 08, 2008 at 09:57:42PM -0500, Dean Luick wrote: > On Wed, Apr 09, 2008 at 10:52:05AM +1000, David Gibson wrote: > > On Tue, Apr 08, 2008 at 02:16:11PM -0500, Dean Luick wrote: > > > When running on multiple hosts with output coalesced, it is useful to > > > be able to isolate messages f

Re: [Libhugetlbfs-devel] [RFC][PATCH] Optionally add "[hostname:pid] " to output messages

2008-04-08 Thread Dean Luick
On Wed, Apr 09, 2008 at 10:52:05AM +1000, David Gibson wrote: > On Tue, Apr 08, 2008 at 02:16:11PM -0500, Dean Luick wrote: > > When running on multiple hosts with output coalesced, it is useful to > > be able to isolate messages from individual processes. This patch adds > > the ability to add th

Re: [Libhugetlbfs-devel] [RFC][PATCH] Optionally add "[hostname:pid] " to output messages

2008-04-08 Thread David Gibson
On Tue, Apr 08, 2008 at 02:16:11PM -0500, Dean Luick wrote: > When running on multiple hosts with output coalesced, it is useful to > be able to isolate messages from individual processes. This patch adds > the ability to add the string "[hostname:pid] " to all messages emitted > by libhugetlbfs.

Re: [Libhugetlbfs-devel] [PATCH] Add exec shield notation to LDFLAGS

2008-04-08 Thread Mel Gorman
On (15/01/08 10:22), Adam Litke didst pronounce: > Newer versions of GNU ld have an option to explicitly state that a > program does not require a stack with execute permissions. In this > case, additional security measures can be taken by the kernel and > operating system*. Add this flag to the

[Libhugetlbfs-devel] libhugetlbfs-devel

2008-04-08 Thread weskypp9
新产品开发流程与项目管理 ● 课程对象 企业研发分管高层领导、新产品研发主管、产品经理,研发项目经理、项目组核心成员、产品开发相关职能部门(规划部、市场部,项目部、技术部、质量部、企管部,生产部)的经理领导、对新产品研发项目有兴趣者。 ● 会务报名 1.报名时间:即日起接受报名 2.费用:2680元/人(含资料、文具、午餐、点心)  ● 举办时间: 2008年4月28日-29日 举办地点: 北京豪景大厦 联系方式: 深圳总部电话:0755-26075265 26075429 26075365 22008632 81069646 上海办事处电话:021-518751

[Libhugetlbfs-devel] [RFC][PATCH] Optionally add "[hostname:pid] " to output messages

2008-04-08 Thread Dean Luick
When running on multiple hosts with output coalesced, it is useful to be able to isolate messages from individual processes. This patch adds the ability to add the string "[hostname:pid] " to all messages emitted by libhugetlbfs. Display this additional information by setting the environment vari

[Libhugetlbfs-devel] [PATCH 2/4] elflink: Support full segment remapping with the system linker scripts

2008-04-08 Thread Adam Litke
With all of the dependencies on custom linker scripts removed, introduce a segment remapping algorithm that is compatible with the system linker scripts (binutils 2.18 or later). The only thing that is strictly required for full segment remapping to be possible is a large enough gap between the te

[Libhugetlbfs-devel] [PATCH 4/4] ld.hugetlbfs: Add support for relinking with system scripts

2008-04-08 Thread Adam Litke
With the core of libhugetlbfs now supporting relinking without the need for custom scripts, export the feature to users in an easy to use manner. For a binary to be properly linked to support this remapping method, three things must be added to the ld command line during the final link: -zcommon-p

[Libhugetlbfs-devel] [PATCH 3/4] elflink: Consolidate parsing code

2008-04-08 Thread Adam Litke
The segment parsing code for binaries linked with custom linker scripts is now nearly identical to the new system script method so we can consolidate two functions into one code path. There are two interesting semantics to note: 1) verify_segment_layout() will be called when we are using custom li

[Libhugetlbfs-devel] [PATCH 1/4] elflink: Handle unaligned segment starting addresses

2008-04-08 Thread Adam Litke
The current remapping algortithm assumes that each PT_LOAD elf segment has a starting address (vaddr) that is aligned to the huge page size. This condition was enforced by the custom linker scripts that are packaged with libhugetlbfs. Unaligned starting addresses can be corrected simply by aligni

[Libhugetlbfs-devel] [PATCH 0/4] V4 Remap binaries linked with unknown linker scripts

2008-04-08 Thread Adam Litke
The current implementation of libhugetlbfs segment remapping requires that a binary be linked with a custom linker script that is included in the library distribution. Over time these custom linker scripts have needed updating to keep them compatible with changes occuring in binutils. While we've