Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 54496 - x86-64.org patches for gentoo-dev-sources-2.6.7
Summary: x86-64.org patches for gentoo-dev-sources-2.6.7
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: x86-kernel@gentoo.org (DEPRECATED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-06-19 22:57 UTC by Ryan Earl
Modified: 2004-06-22 09:17 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
x86_64-2.6.7-1.bz2 (x86_64-2.6.7-1.bz2,6.68 KB, application/octet-stream)
2004-06-19 23:00 UTC, Ryan Earl
Details
x86_64-2.6.7-2.patch (x86_64-2.6.7-2.patch,341 bytes, text/plain)
2004-06-19 23:02 UTC, Ryan Earl
Details
x86_64-2.6.7-2.bz2 (x86_64-2.6.7-2.bz2,12.64 KB, application/octet-stream)
2004-06-21 03:33 UTC, Ryan Earl
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Earl 2004-06-19 22:57:36 UTC
Can you include the x86_64.org patches?  I will attach them.  I have applied them to the current gentoo-dev-sources and they apply cleaning in the proper order.

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Ryan Earl 2004-06-19 23:00:13 UTC
Created attachment 33614 [details]
x86_64-2.6.7-1.bz2
Comment 2 Ryan Earl 2004-06-19 23:00:49 UTC
Comment on attachment 33614 [details]
x86_64-2.6.7-1.bz2

First x86-64.org patchset
Comment 3 Ryan Earl 2004-06-19 23:02:22 UTC
Created attachment 33615 [details]
x86_64-2.6.7-2.patch

Second x86-64.org patch for 2.6.7
Comment 4 Ryan Earl 2004-06-21 03:33:10 UTC
Created attachment 33736 [details]
x86_64-2.6.7-2.bz2

Newer patchset, from the x86-64.org mailing list:

A new x86-64 patchkit for the Linux v2.6 has been released.

ftp://ftp.x86-64.org/pub/linux/v2.6/x86_64-2.6.7-2.bz2
03db8fef878268d0e905c158f132db56  x86_64-2.6.7-2.bz2

This version has some more machine check handler fixes (thanks to 
Eric Morton and Paul Devriendt for suggestions). The machine check
handler should work well now. Please don't forget to run mcelog
from your crontab to log its output.

It doesn't use backwards rep ; movsb for memmove anymore to work around 
a new (extremly unlikely) Opteron erratum.

A new lazy merging scheme suggested by Ben Herrenschmidt has been implemented
in the IOMMU. IOMMU level merging can give improved performance with some
IO devices (in particular SCSI adapters). Previously the merging implementation

would tell the block layer to assume merging for everything. Problem 
was that when the IOMMU was unable to merge later for some reason there was
no way to undo this without erroring out the request. This made it not
really suitable for general usage. The new lazy merging scheme doesn't involve
the block layer anymore, but just merges at driver level. This is less
efficient, but more reliable. This is enabled by default now when the IOMMU
is in use. 

If you have a block IO limited load it may be interesting to try iommu=force
with the new kernel. For networking it seems to make things slower.
If you do this it's suggest to enlarge the AGP aperture or IOMMU option
in the BIOS (if you don't have AGP) to 256-512MB or more. 
If you see any improvements from this please report back.

I changed the bitmap search functions to use 64 bit accesses. This
may improve performance on file systems using bitmaps (like ext3/3, reiserfs)

Also this release has various other fixes, see the ChangeLog for details.

-Andi
Comment 5 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 08:49:03 UTC
I'll be glad to include x86-64 specific bug fixes, but to just drop
andi's whole patchset into this tree isn't always a good thing to have.

So, I'm going to reject this, and if you have any specific bug fixes you want
to pick out of the big patch, feel free to reopen this, and add just those
patches.
Comment 6 Ryan Earl 2004-06-21 13:21:56 UTC
Well, the patches aren't broken out, so it's kinda hard to see which relate to which, but I would definitely like to have the 64-bit accessed bitmaps that could potential increase filesystem performance.  

The machine check handler stuff would be nice, but it looks like a fair number of files were touched to patch that.

Don't care about IOMMU as I don't have >4GB of RAM ;)
Comment 7 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-21 13:30:21 UTC
"Nice to have" is not going to work, sorry :)

We need bugfix only patches, in order to stay sane and to take advantage of 
the kernel.org developers.
Comment 8 Travis Tilley (RETIRED) gentoo-dev 2004-06-21 17:08:39 UTC
wait... when did you guys stop including the x86-64 patches? from 2.6.1:

* Applying 125_x86_64_org_patches_2.6.1_rc3-brad.patch...             [ ok ]

the reason why gentoo-dev-sources is the suggested kernel in the amd64 docs is because of this patchset... it's not so much of an issue anymore, but back when development-sources didnt work at all, g-d-s did.

if this isnt in g-d-s anymore, do you think it might be a good idea to have an x86-64-sources? it might be useful to not have 'dev' in the name of the only kernel considered stable on amd64 :)

perhaps amd64-sources so that we can also include the pax patch by default, allowing for easier control of amd64's native NX support?
Comment 9 Ryan Earl 2004-06-21 18:59:07 UTC
The Machine Check Handler is a bugfix no?  Either it works or it doesn't.  Previously didn't work, patch makes it work.  *shrugs*

I can just apply the x86-64.org patches by hand.
Comment 10 Greg Kroah-Hartman (RETIRED) gentoo-dev 2004-06-22 08:51:18 UTC
Ok, as the patchset does not touch any non x86-64 files, and this is the
stable kernel for that arch, I've added it back to the package, and released
a 2.6.7-r4 version for it.

Sorry about the confusion.
Comment 11 Travis Tilley (RETIRED) gentoo-dev 2004-06-22 09:17:04 UTC
you -rock- :)
thanks much for the re-add.