Re: [PATCH 3/8] add mem64_min/max control

Yinghai Lu
2012-11-18T07:18:28Z

[-- Attachment #1: Type: text/plain, Size: 918 bytes --]

On Sat, Nov 17, 2012 at 10:53 PM, Yinghai Lu <yinghai@kernel.org> wrote:
> On Sat, Nov 17, 2012 at 10:50 PM, Eric W. Biederman
> <ebiederm@xmission.com> wrote:
>>>
>>> so we should two purgatory for x86_64 ?
>>> like one for 64bit and one for 32bit/16bit
>>
>> The problem is that the current 32bit assembly code is not possition
>> independent. If we can rewrite that assembly code to be position
>> independent no relocs will be generated and we should be good.
>>
>> The 16bit entry point code was already written as position independent
>> code so it should not cause problems.
>>
>> Just having one piece of code to deal with (if we can figure it out)
>> looks to be the simpler and more maintainable solution.
>
> sure.

just resent -v2 patches for kernel parts.

attached are changes for kexec-tools without put 64 bit purgartory above 4g...

hope you can work out 32bit position independent.

Thanks

Yinghai

[-- Attachment #2: patches.kexec_2012_11_17.tar.bz2 --]
[-- Type: application/x-bzip2, Size: 8179 bytes --]

[-- Attachment #3: Type: text/plain, Size: 143 bytes --]