Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57339
b: refs/heads/master
c: f2f027c
h: refs/heads/master
i:
  57337: f72dcc6
  57335: 531fbb6
v: v3
  • Loading branch information
Hugh Dickins authored and James Bottomley committed May 30, 2007
1 parent 71c91fc commit 1432fb6
Show file tree
Hide file tree
Showing 363 changed files with 2,070 additions and 4,165 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0b662c64840fb281e5948ab6f9d60f84817277d0
refs/heads/master: f2f027c6e9912840020be8b78f037d5c8ac665e0
24 changes: 0 additions & 24 deletions trunk/Documentation/BUG-HUNTING
Original file line number Diff line number Diff line change
Expand Up @@ -191,30 +191,6 @@ e.g. crash dump output as shown by Dave Miller.
> mov 0x8(%ebp), %ebx ! %ebx = skb->sk
> mov 0x13c(%ebx), %eax ! %eax = inet_sk(sk)->opt

In addition, you can use GDB to figure out the exact file and line
number of the OOPS from the vmlinux file. If you have
CONFIG_DEBUG_INFO enabled, you can simply copy the EIP value from the
OOPS:

EIP: 0060:[<c021e50e>] Not tainted VLI

And use GDB to translate that to human-readable form:

gdb vmlinux
(gdb) l *0xc021e50e

If you don't have CONFIG_DEBUG_INFO enabled, you use the function
offset from the OOPS:

EIP is at vt_ioctl+0xda8/0x1482

And recompile the kernel with CONFIG_DEBUG_INFO enabled:

make vmlinux
gdb vmlinux
(gdb) p vt_ioctl
(gdb) l *(0x<address of vt_ioctl> + 0xda8)

Another very useful option of the Kernel Hacking section in menuconfig is
Debug memory allocations. This will help you see whether data has been
initialised and not set before use etc. To see the values that get assigned
Expand Down
6 changes: 0 additions & 6 deletions trunk/Documentation/SubmitChecklist
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,3 @@ kernel patches.
24: Avoid whitespace damage such as indenting with spaces or whitespace
at the end of lines. You can test this by feeding the patch to
"git apply --check --whitespace=error-all"

25: Check your patch for general style as detailed in
Documentation/CodingStyle. Check for trivial violations with the
patch style checker prior to submission (scripts/checkpatch.pl).
You should be able to justify all violations that remain in
your patch.
39 changes: 11 additions & 28 deletions trunk/Documentation/SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -118,20 +118,7 @@ then only post say 15 or so at a time and wait for review and integration.



4) Style check your changes.

Check your patch for basic style violations, details of which can be
found in Documentation/CodingStyle. Failure to do so simply wastes
the reviewers time and will get your patch rejected, probabally
without even being read.

At a minimum you should check your patches with the patch style
checker prior to submission (scripts/patchcheck.pl). You should
be able to justify all violations that remain in your patch.



5) Select e-mail destination.
4) Select e-mail destination.

Look through the MAINTAINERS file and the source code, and determine
if your change applies to a specific subsystem of the kernel, with
Expand Down Expand Up @@ -159,7 +146,7 @@ discussed should the patch then be submitted to Linus.



6) Select your CC (e-mail carbon copy) list.
5) Select your CC (e-mail carbon copy) list.

Unless you have a reason NOT to do so, CC linux-kernel@vger.kernel.org.

Expand Down Expand Up @@ -200,7 +187,8 @@ URL: <http://www.kernel.org/pub/linux/kernel/people/bunk/trivial/>



7) No MIME, no links, no compression, no attachments. Just plain text.

6) No MIME, no links, no compression, no attachments. Just plain text.

Linus and other kernel developers need to be able to read and comment
on the changes you are submitting. It is important for a kernel
Expand Down Expand Up @@ -235,9 +223,9 @@ pref("mailnews.display.disable_format_flowed_support", true);



8) E-mail size.
7) E-mail size.

When sending patches to Linus, always follow step #7.
When sending patches to Linus, always follow step #6.

Large changes are not appropriate for mailing lists, and some
maintainers. If your patch, uncompressed, exceeds 40 kB in size,
Expand All @@ -246,7 +234,7 @@ server, and provide instead a URL (link) pointing to your patch.



9) Name your kernel version.
8) Name your kernel version.

It is important to note, either in the subject line or in the patch
description, the kernel version to which this patch applies.
Expand All @@ -256,7 +244,7 @@ Linus will not apply it.



10) Don't get discouraged. Re-submit.
9) Don't get discouraged. Re-submit.

After you have submitted your change, be patient and wait. If Linus
likes your change and applies it, it will appear in the next version
Expand All @@ -282,7 +270,7 @@ When in doubt, solicit comments on linux-kernel mailing list.



11) Include PATCH in the subject
10) Include PATCH in the subject

Due to high e-mail traffic to Linus, and to linux-kernel, it is common
convention to prefix your subject line with [PATCH]. This lets Linus
Expand All @@ -291,7 +279,7 @@ e-mail discussions.



12) Sign your work
11) Sign your work

To improve tracking of who did what, especially with patches that can
percolate to their final resting place in the kernel through several
Expand Down Expand Up @@ -340,8 +328,7 @@ now, but you can do this to mark internal company procedures or just
point out some special detail about the sign-off.



13) The canonical patch format
12) The canonical patch format

The canonical patch subject line is:

Expand Down Expand Up @@ -440,10 +427,6 @@ section Linus Computer Science 101.
Nuff said. If your code deviates too much from this, it is likely
to be rejected without further review, and without comment.

Check your patches with the patch style checker prior to submission
(scripts/checkpatch.pl). You should be able to justify all
violations that remain in your patch.



2) #ifdefs are ugly
Expand Down
1 change: 0 additions & 1 deletion trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ Who: David Miller <davem@davemloft.net>

What: Video4Linux API 1 ioctls and video_decoder.h from Video devices.
When: December 2006
Files: include/linux/video_decoder.h
Why: V4L1 AP1 was replaced by V4L2 API. during migration from 2.4 to 2.6
series. The old API have lots of drawbacks and don't provide enough
means to work with all video and audio standards. The newer API is
Expand Down
7 changes: 3 additions & 4 deletions trunk/Documentation/hrtimer/timer_stats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,9 @@ timer_stats - timer usage statistics
------------------------------------

timer_stats is a debugging facility to make the timer (ab)usage in a Linux
system visible to kernel and userspace developers. If enabled in the config
but not used it has almost zero runtime overhead, and a relatively small
data structure overhead. Even if collection is enabled runtime all the
locking is per-CPU and lookup is hashed.
system visible to kernel and userspace developers. It is not intended for
production usage as it adds significant overhead to the (hr)timer code and the
(hr)timer data structures.

timer_stats should be used by kernel and userspace developers to verify that
their code does not make unduly use of timers. This helps to avoid unnecessary
Expand Down
2 changes: 1 addition & 1 deletion trunk/Documentation/ia64/aliasing-test.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ int scan_rom(char *path, char *file)
return rc;
}

int main()
main()
{
int rc;

Expand Down
42 changes: 4 additions & 38 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -170,10 +170,7 @@ and is between 256 and 4096 characters. It is defined in the file
acpi_os_name= [HW,ACPI] Tell ACPI BIOS the name of the OS
Format: To spoof as Windows 98: ="Microsoft Windows"

acpi_osi= [HW,ACPI] Modify list of supported OS interface strings
acpi_osi="string1" # add string1 -- only one string
acpi_osi="!string2" # remove built-in string2
acpi_osi= # disable all strings
acpi_osi= [HW,ACPI] empty param disables _OSI

acpi_serialize [HW,ACPI] force serialization of AML methods

Expand Down Expand Up @@ -1135,9 +1132,9 @@ and is between 256 and 4096 characters. It is defined in the file
when set.
Format: <int>

noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
caches in the slab allocator. Saves per-node memory,
but will impact performance.
noaliencache [MM, NUMA] Disables the allcoation of alien caches in
the slab allocator. Saves per-node memory, but will
impact performance on real NUMA hardware.

noalign [KNL,ARM]

Expand Down Expand Up @@ -1616,37 +1613,6 @@ and is between 256 and 4096 characters. It is defined in the file

slram= [HW,MTD]

slub_debug [MM, SLUB]
Enabling slub_debug allows one to determine the culprit
if slab objects become corrupted. Enabling slub_debug
creates guard zones around objects and poisons objects
when not in use. Also tracks the last alloc / free.
For more information see Documentation/vm/slub.txt.

slub_max_order= [MM, SLUB]
Determines the maximum allowed order for slabs. Setting
this too high may cause fragmentation.
For more information see Documentation/vm/slub.txt.

slub_min_objects= [MM, SLUB]
The minimum objects per slab. SLUB will increase the
slab order up to slub_max_order to generate a
sufficiently big slab to satisfy the number of objects.
The higher the number of objects the smaller the overhead
of tracking slabs.
For more information see Documentation/vm/slub.txt.

slub_min_order= [MM, SLUB]
Determines the mininum page order for slabs. Must be
lower than slub_max_order
For more information see Documentation/vm/slub.txt.

slub_nomerge [MM, SLUB]
Disable merging of slabs of similar size. May be
necessary if there is some reason to distinguish
allocs to different slabs.
For more information see Documentation/vm/slub.txt.

smart2= [HW]
Format: <io1>[,<io2>[,...,<io8>]]

Expand Down
4 changes: 0 additions & 4 deletions trunk/Documentation/networking/xfrm_sysctl.txt

This file was deleted.

1 change: 0 additions & 1 deletion trunk/Documentation/sound/alsa/ALSA-Configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -917,7 +917,6 @@ Prior to version 0.9.0rc4 options had a 'snd_' prefix. This was removed.
ref Reference board, base config
m2-2 Some Gateway MX series laptops
m6 Some Gateway NX series laptops
pa6 Gateway NX860 series

STAC9227/9228/9229/927x
ref Reference board
Expand Down
25 changes: 14 additions & 11 deletions trunk/Documentation/thinkpad-acpi.txt
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Hot keys
--------

procfs: /proc/acpi/ibm/hotkey
sysfs device attribute: hotkey_*
sysfs device attribute: hotkey/*

Without this driver, only the Fn-F4 key (sleep button) generates an
ACPI event. With the driver loaded, the hotkey feature enabled and the
Expand Down Expand Up @@ -196,27 +196,30 @@ The following commands can be written to the /proc/acpi/ibm/hotkey file:

sysfs notes:

hotkey_bios_enabled:
The hot keys attributes are in a hotkey/ subdirectory off the
thinkpad device.

bios_enabled:
Returns the status of the hot keys feature when
thinkpad-acpi was loaded. Upon module unload, the hot
key feature status will be restored to this value.

0: hot keys were disabled
1: hot keys were enabled

hotkey_bios_mask:
bios_mask:
Returns the hot keys mask when thinkpad-acpi was loaded.
Upon module unload, the hot keys mask will be restored
to this value.

hotkey_enable:
enable:
Enables/disables the hot keys feature, and reports
current status of the hot keys feature.

0: disables the hot keys feature / feature disabled
1: enables the hot keys feature / feature enabled

hotkey_mask:
mask:
bit mask to enable ACPI event generation for each hot
key (see above). Returns the current status of the hot
keys mask, and allows one to modify it.
Expand All @@ -226,7 +229,7 @@ Bluetooth
---------

procfs: /proc/acpi/ibm/bluetooth
sysfs device attribute: bluetooth_enable
sysfs device attribute: bluetooth/enable

This feature shows the presence and current state of a ThinkPad
Bluetooth device in the internal ThinkPad CDC slot.
Expand All @@ -241,15 +244,15 @@ If Bluetooth is installed, the following commands can be used:
Sysfs notes:

If the Bluetooth CDC card is installed, it can be enabled /
disabled through the "bluetooth_enable" thinkpad-acpi device
disabled through the "bluetooth/enable" thinkpad-acpi device
attribute, and its current status can also be queried.

enable:
0: disables Bluetooth / Bluetooth is disabled
1: enables Bluetooth / Bluetooth is enabled.

Note: this interface will be probably be superseeded by the
generic rfkill class, so it is NOT to be considered stable yet.
generic rfkill class.

Video output control -- /proc/acpi/ibm/video
--------------------------------------------
Expand Down Expand Up @@ -895,7 +898,7 @@ EXPERIMENTAL: WAN
-----------------

procfs: /proc/acpi/ibm/wan
sysfs device attribute: wwan_enable
sysfs device attribute: wwan/enable

This feature is marked EXPERIMENTAL because the implementation
directly accesses hardware registers and may not work as expected. USE
Expand All @@ -918,15 +921,15 @@ If the W-WAN card is installed, the following commands can be used:
Sysfs notes:

If the W-WAN card is installed, it can be enabled /
disabled through the "wwan_enable" thinkpad-acpi device
disabled through the "wwan/enable" thinkpad-acpi device
attribute, and its current status can also be queried.

enable:
0: disables WWAN card / WWAN card is disabled
1: enables WWAN card / WWAN card is enabled.

Note: this interface will be probably be superseeded by the
generic rfkill class, so it is NOT to be considered stable yet.
generic rfkill class.

Multiple Commands, Module Parameters
------------------------------------
Expand Down
Loading

0 comments on commit 1432fb6

Please sign in to comment.