LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* MAINTAINERS file out of date?
@ 2007-04-26 22:19 Michael McConnell
2007-04-26 23:13 ` H. Peter Anvin
0 siblings, 1 reply; 14+ messages in thread
From: Michael McConnell @ 2007-04-26 22:19 UTC (permalink / raw)
To: linux-kernel
Hi folks,
I noticed the MAINTAINERS file still lists Riley Williams as the
maintainer of the i386 boot code, presumably as no-one else has taken it
up in his absence (though, I'm sure it's probably been touched since
late 2004).
If I knew the first thing about the i386 boot process I would volunteer,
but sadly I don't....
This article below details the reason for his absence, but please make
sure you're sitting down before clicking. (It is work-safe.)
http://www.chorleytoday.co.uk/ViewArticle2.aspx?SectionID=81&ArticleID=905248
Sorry to be the bearer of bad news.
--
-- Michael "Soruk" McConnell
Eridani Star System - http://www.eridani.co.uk/
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-26 22:19 MAINTAINERS file out of date? Michael McConnell
@ 2007-04-26 23:13 ` H. Peter Anvin
2007-04-27 1:09 ` WANG Cong
0 siblings, 1 reply; 14+ messages in thread
From: H. Peter Anvin @ 2007-04-26 23:13 UTC (permalink / raw)
To: Michael McConnell; +Cc: linux-kernel, Andi Kleen
Michael McConnell wrote:
> Hi folks,
>
> I noticed the MAINTAINERS file still lists Riley Williams as the
> maintainer of the i386 boot code, presumably as no-one else has taken it
> up in his absence (though, I'm sure it's probably been touched since
> late 2004).
>
> If I knew the first thing about the i386 boot process I would volunteer,
> but sadly I don't....
>
> This article below details the reason for his absence, but please make
> sure you're sitting down before clicking. (It is work-safe.)
> http://www.chorleytoday.co.uk/ViewArticle2.aspx?SectionID=81&ArticleID=905248
>
Dear.
I have considered myself as a rather unofficial maintainer of this code,
and wouldn't mind make it official now when I actually have a job which
both cares about and actually can support my upstream Linux activities,
which was a major pain for a while.
Overall, there is a lot of cleanup which really is needed in the i386
boot process; I have done some work on it already, but more is needed.
-hpa
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-26 23:13 ` H. Peter Anvin
@ 2007-04-27 1:09 ` WANG Cong
2007-04-27 1:12 ` H. Peter Anvin
0 siblings, 1 reply; 14+ messages in thread
From: WANG Cong @ 2007-04-27 1:09 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Michael McConnell, linux-kernel, Andi Kleen
On Thu, Apr 26, 2007 at 04:13:01PM -0700, H. Peter Anvin wrote:
>Michael McConnell wrote:
>> Hi folks,
>>
>> I noticed the MAINTAINERS file still lists Riley Williams as the
>> maintainer of the i386 boot code, presumably as no-one else has taken it
>> up in his absence (though, I'm sure it's probably been touched since
>> late 2004).
>>
>> If I knew the first thing about the i386 boot process I would volunteer,
>> but sadly I don't....
>>
>> This article below details the reason for his absence, but please make
>> sure you're sitting down before clicking. (It is work-safe.)
>> http://www.chorleytoday.co.uk/ViewArticle2.aspx?SectionID=81&ArticleID=905248
>>
>
>Dear.
>
>I have considered myself as a rather unofficial maintainer of this code,
>and wouldn't mind make it official now when I actually have a job which
>both cares about and actually can support my upstream Linux activities,
>which was a major pain for a while.
>
>Overall, there is a lot of cleanup which really is needed in the i386
>boot process; I have done some work on it already, but more is needed.
>
Sounds interesting. Can you point me what needs to be done exactly? Maybe I can help you. ;)
Have fun!
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 1:09 ` WANG Cong
@ 2007-04-27 1:12 ` H. Peter Anvin
2007-04-27 2:32 ` WANG Cong
0 siblings, 1 reply; 14+ messages in thread
From: H. Peter Anvin @ 2007-04-27 1:12 UTC (permalink / raw)
To: H. Peter Anvin, Michael McConnell, linux-kernel, Andi Kleen
Cc: Eric W. Biederman
WANG Cong wrote:
>>
>> I have considered myself as a rather unofficial maintainer of this code,
>> and wouldn't mind make it official now when I actually have a job which
>> both cares about and actually can support my upstream Linux activities,
>> which was a major pain for a while.
>>
>> Overall, there is a lot of cleanup which really is needed in the i386
>> boot process; I have done some work on it already, but more is needed.
>
> Sounds interesting. Can you point me what needs to be done exactly? Maybe I can help you. ;)
There was a long thread on the linux-virtualization list
(@lists.linux-foundation.org) just a few days ago. The biggest single
issue right now is probably how we transition from the bootup page
tables to the "real" init_mm page tables, but the real-mode code also
needs a massive overhaul (especially so since this code can and should
be shared with x86-64); in particular I really want to get rid of the
insane segment handling, where segments are constantly recalculated for
no good reason.
For the real-mode stuff, I have some patches already in the works for
this. Eric W. Biederman has also done a lot of work in this area.
-hpa
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 1:12 ` H. Peter Anvin
@ 2007-04-27 2:32 ` WANG Cong
2007-04-27 4:22 ` Eric W. Biederman
0 siblings, 1 reply; 14+ messages in thread
From: WANG Cong @ 2007-04-27 2:32 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Michael McConnell, linux-kernel, Andi Kleen, Eric W. Biederman
On Thu, Apr 26, 2007 at 06:12:43PM -0700, H. Peter Anvin wrote:
>WANG Cong wrote:
>>>
>>> I have considered myself as a rather unofficial maintainer of this code,
>>> and wouldn't mind make it official now when I actually have a job which
>>> both cares about and actually can support my upstream Linux activities,
>>> which was a major pain for a while.
>>>
>>> Overall, there is a lot of cleanup which really is needed in the i386
>>> boot process; I have done some work on it already, but more is needed.
>>
>> Sounds interesting. Can you point me what needs to be done exactly? Maybe I can help you. ;)
>
>There was a long thread on the linux-virtualization list
>(@lists.linux-foundation.org) just a few days ago. The biggest single
>issue right now is probably how we transition from the bootup page
>tables to the "real" init_mm page tables, but the real-mode code also
>needs a massive overhaul (especially so since this code can and should
>be shared with x86-64); in particular I really want to get rid of the
>insane segment handling, where segments are constantly recalculated for
>no good reason.
>
>For the real-mode stuff, I have some patches already in the works for
>this. Eric W. Biederman has also done a lot of work in this area.
>
> -hpa
Thanks for your point.
I know little about virtualization, maybe can't help much. But I am interested in other things you mentioned. AFAIK, segments can't be avoided on i386, and Linux uses them very little, how are they recalculated constantly?
Regards!
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 2:32 ` WANG Cong
@ 2007-04-27 4:22 ` Eric W. Biederman
2007-04-27 5:16 ` H. Peter Anvin
0 siblings, 1 reply; 14+ messages in thread
From: Eric W. Biederman @ 2007-04-27 4:22 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Michael McConnell, linux-kernel, Andi Kleen
WANG Cong <xiyou.wangcong@gmail.com> writes:
>
> Thanks for your point.
> I know little about virtualization, maybe can't help much. But I am interested
> in other things you mentioned. AFAIK, segments can't be avoided on i386, and
> Linux uses them very little, how are they recalculated constantly?
Look in arch/i386/boot/setup.S it runs in 16bit mode. We are talking about
real mode segments not 16bit segments.
16bit real mode is a completely different ball game, and why we keep BIOS
calls isolated to that one dinky file.
Eric
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 4:22 ` Eric W. Biederman
@ 2007-04-27 5:16 ` H. Peter Anvin
2007-04-27 5:24 ` Eric W. Biederman
2007-04-27 10:34 ` Andi Kleen
0 siblings, 2 replies; 14+ messages in thread
From: H. Peter Anvin @ 2007-04-27 5:16 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: Michael McConnell, linux-kernel, Andi Kleen
Eric W. Biederman wrote:
> WANG Cong <xiyou.wangcong@gmail.com> writes:
>
>> Thanks for your point.
>> I know little about virtualization, maybe can't help much. But I am interested
>> in other things you mentioned. AFAIK, segments can't be avoided on i386, and
>> Linux uses them very little, how are they recalculated constantly?
>
> Look in arch/i386/boot/setup.S it runs in 16bit mode. We are talking about
> real mode segments not 16bit segments.
>
> 16bit real mode is a completely different ball game, and why we keep BIOS
> calls isolated to that one dinky file.
>
A lot of that code (although, of course, not all) could be written in C,
though. I'm thinking of taking a stab at rewriting it that way.
-hpa
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 5:16 ` H. Peter Anvin
@ 2007-04-27 5:24 ` Eric W. Biederman
2007-04-27 5:27 ` H. Peter Anvin
2007-04-27 10:34 ` Andi Kleen
1 sibling, 1 reply; 14+ messages in thread
From: Eric W. Biederman @ 2007-04-27 5:24 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Michael McConnell, linux-kernel, Andi Kleen
"H. Peter Anvin" <hpa@zytor.com> writes:
> A lot of that code (although, of course, not all) could be written in C,
> though. I'm thinking of taking a stab at rewriting it that way.
Is this using the .code16gcc? Or are you thinking of some other
technique. Requiring another C compiler to build the kernel would
be a pain to use.
Eric
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 5:24 ` Eric W. Biederman
@ 2007-04-27 5:27 ` H. Peter Anvin
2007-04-27 10:28 ` WANG Cong
0 siblings, 1 reply; 14+ messages in thread
From: H. Peter Anvin @ 2007-04-27 5:27 UTC (permalink / raw)
To: Eric W. Biederman; +Cc: Michael McConnell, linux-kernel, Andi Kleen
Eric W. Biederman wrote:
> "H. Peter Anvin" <hpa@zytor.com> writes:
>
>> A lot of that code (although, of course, not all) could be written in C,
>> though. I'm thinking of taking a stab at rewriting it that way.
>
> Is this using the .code16gcc? Or are you thinking of some other
> technique. Requiring another C compiler to build the kernel would
> be a pain to use.
.code16gcc was what I was using. There is a GSoC project that I'm
mentoring to get 16-bit support for gcc, that will be possible to
eventually migrate to (for code size) if/when it gets implemented and
gets pushed out far enough, but that's for the future.
-hpa
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 5:27 ` H. Peter Anvin
@ 2007-04-27 10:28 ` WANG Cong
2007-04-27 15:55 ` H. Peter Anvin
0 siblings, 1 reply; 14+ messages in thread
From: WANG Cong @ 2007-04-27 10:28 UTC (permalink / raw)
To: H. Peter Anvin
Cc: Eric W. Biederman, Michael McConnell, linux-kernel, Andi Kleen
On Thu, Apr 26, 2007 at 10:27:47PM -0700, H. Peter Anvin wrote:
>Eric W. Biederman wrote:
>> "H. Peter Anvin" <hpa@zytor.com> writes:
>>
>>> A lot of that code (although, of course, not all) could be written in C,
>>> though. I'm thinking of taking a stab at rewriting it that way.
>>
>> Is this using the .code16gcc? Or are you thinking of some other
>> technique. Requiring another C compiler to build the kernel would
>> be a pain to use.
>
>.code16gcc was what I was using. There is a GSoC project that I'm
>mentoring to get 16-bit support for gcc, that will be possible to
>eventually migrate to (for code size) if/when it gets implemented and
>gets pushed out far enough, but that's for the future.
>
> -hpa
Thanks! I will take a look at that file.
Maybe we can rewrite them in C, use a 16-bit C compiler to generate AT&T asm code and finally push the asm code in the kernel source tree. But perhaps there is no such ideal compiler. ;)
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 5:16 ` H. Peter Anvin
2007-04-27 5:24 ` Eric W. Biederman
@ 2007-04-27 10:34 ` Andi Kleen
2007-04-27 15:56 ` H. Peter Anvin
1 sibling, 1 reply; 14+ messages in thread
From: Andi Kleen @ 2007-04-27 10:34 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Eric W. Biederman, Michael McConnell, linux-kernel
>
> A lot of that code (although, of course, not all) could be written in C,
> though. I'm thinking of taking a stab at rewriting it that way.
That would require a new compiler, right? I don't think that would
make users very happy.
Besides the code is not exactly that maintenance intensive and only
changes rarely so I don't need a pressing need to rewrite it
-Andi
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 10:28 ` WANG Cong
@ 2007-04-27 15:55 ` H. Peter Anvin
0 siblings, 0 replies; 14+ messages in thread
From: H. Peter Anvin @ 2007-04-27 15:55 UTC (permalink / raw)
To: H. Peter Anvin, Eric W. Biederman, Michael McConnell,
linux-kernel, Andi Kleen
WANG Cong wrote:
> On Thu, Apr 26, 2007 at 10:27:47PM -0700, H. Peter Anvin wrote:
>
> Thanks! I will take a look at that file.
>
> Maybe we can rewrite them in C, use a 16-bit C compiler to generate AT&T asm code and finally push the asm code in the kernel source tree. But perhaps there is no such ideal compiler. ;)
>
No, that would be bad.
-hpa
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 10:34 ` Andi Kleen
@ 2007-04-27 15:56 ` H. Peter Anvin
2007-04-27 17:02 ` Eric W. Biederman
0 siblings, 1 reply; 14+ messages in thread
From: H. Peter Anvin @ 2007-04-27 15:56 UTC (permalink / raw)
To: Andi Kleen; +Cc: Eric W. Biederman, Michael McConnell, linux-kernel
Andi Kleen wrote:
>> A lot of that code (although, of course, not all) could be written in C,
>> though. I'm thinking of taking a stab at rewriting it that way.
>
> That would require a new compiler, right? I don't think that would
> make users very happy.
>
> Besides the code is not exactly that maintenance intensive and only
> changes rarely so I don't need a pressing need to rewrite it
No, it would not need a new compiler. All it requires is gcc plus a
reasonably recent binutils which you need anyway.
-hpa
^ permalink raw reply [flat|nested] 14+ messages in thread
* Re: MAINTAINERS file out of date?
2007-04-27 15:56 ` H. Peter Anvin
@ 2007-04-27 17:02 ` Eric W. Biederman
0 siblings, 0 replies; 14+ messages in thread
From: Eric W. Biederman @ 2007-04-27 17:02 UTC (permalink / raw)
To: H. Peter Anvin; +Cc: Andi Kleen, Michael McConnell, linux-kernel
"H. Peter Anvin" <hpa@zytor.com> writes:
> Andi Kleen wrote:
>>> A lot of that code (although, of course, not all) could be written in C,
>>> though. I'm thinking of taking a stab at rewriting it that way.
>>
>> That would require a new compiler, right? I don't think that would
>> make users very happy.
>>
>> Besides the code is not exactly that maintenance intensive and only
>> changes rarely so I don't need a pressing need to rewrite it
>
> No, it would not need a new compiler. All it requires is gcc plus a
> reasonably recent binutils which you need anyway.
There opportunities to enhance this code without writing it in C.
Such as building the code out comprehensible single of subroutines,
with a well defined calling sequence.
The big benefit when you can go to C is that you can include headers
from elsewhere in the kernel and since setup.S is increasingly
becoming optional it has a fixed interface to the rest of
the kernel, so there is much less opportunity for enhancement there.
Eric
^ permalink raw reply [flat|nested] 14+ messages in thread
end of thread, other threads:[~2007-04-27 17:03 UTC | newest]
Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-04-26 22:19 MAINTAINERS file out of date? Michael McConnell
2007-04-26 23:13 ` H. Peter Anvin
2007-04-27 1:09 ` WANG Cong
2007-04-27 1:12 ` H. Peter Anvin
2007-04-27 2:32 ` WANG Cong
2007-04-27 4:22 ` Eric W. Biederman
2007-04-27 5:16 ` H. Peter Anvin
2007-04-27 5:24 ` Eric W. Biederman
2007-04-27 5:27 ` H. Peter Anvin
2007-04-27 10:28 ` WANG Cong
2007-04-27 15:55 ` H. Peter Anvin
2007-04-27 10:34 ` Andi Kleen
2007-04-27 15:56 ` H. Peter Anvin
2007-04-27 17:02 ` Eric W. Biederman
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).