Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 57280
b: refs/heads/master
c: fcf7535
h: refs/heads/master
v: v3
  • Loading branch information
Len Brown committed Jun 2, 2007
1 parent a283285 commit 59ce24f
Show file tree
Hide file tree
Showing 376 changed files with 6,527 additions and 2,332 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: 6287ee32952b502c23d54f12895c3895ddbe5013
refs/heads/master: fcf75356e9cf0460ef47a5b756bc3b0951ecab59
24 changes: 24 additions & 0 deletions trunk/Documentation/BUG-HUNTING
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,30 @@ 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: 6 additions & 0 deletions trunk/Documentation/SubmitChecklist
Original file line number Diff line number Diff line change
Expand Up @@ -84,3 +84,9 @@ 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: 28 additions & 11 deletions trunk/Documentation/SubmittingPatches
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,20 @@ then only post say 15 or so at a time and wait for review and integration.



4) Select e-mail destination.
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.

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 @@ -146,7 +159,7 @@ discussed should the patch then be submitted to Linus.



5) Select your CC (e-mail carbon copy) list.
6) 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 @@ -187,8 +200,7 @@ URL: <http://www.kernel.org/pub/linux/kernel/people/bunk/trivial/>




6) No MIME, no links, no compression, no attachments. Just plain text.
7) 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 @@ -223,9 +235,9 @@ pref("mailnews.display.disable_format_flowed_support", true);



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

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

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



8) Name your kernel version.
9) 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 @@ -244,7 +256,7 @@ Linus will not apply it.



9) Don't get discouraged. Re-submit.
10) 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 @@ -270,7 +282,7 @@ When in doubt, solicit comments on linux-kernel mailing list.



10) Include PATCH in the subject
11) 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 @@ -279,7 +291,7 @@ e-mail discussions.



11) Sign your work
12) 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 @@ -328,7 +340,8 @@ now, but you can do this to mark internal company procedures or just
point out some special detail about the sign-off.


12) The canonical patch format

13) The canonical patch format

The canonical patch subject line is:

Expand Down Expand Up @@ -427,6 +440,10 @@ 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
3 changes: 2 additions & 1 deletion trunk/Documentation/feature-removal-schedule.txt
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,15 @@ Who: Dan Dennedy <dan@dennedy.org>, Stefan Richter <stefanr@s5r6.in-berlin.de>
What: old NCR53C9x driver
When: October 2007
Why: Replaced by the much better esp_scsi driver. Actual low-level
driver can ported over almost trivially.
driver can be ported over almost trivially.
Who: David Miller <davem@davemloft.net>
Christoph Hellwig <hch@lst.de>

---------------------------

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: 4 additions & 3 deletions trunk/Documentation/hrtimer/timer_stats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,10 @@ 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. It is not intended for
production usage as it adds significant overhead to the (hr)timer code and the
(hr)timer data structures.
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.

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;
}

main()
int main()
{
int rc;

Expand Down
37 changes: 34 additions & 3 deletions trunk/Documentation/kernel-parameters.txt
Original file line number Diff line number Diff line change
Expand Up @@ -1132,9 +1132,9 @@ and is between 256 and 4096 characters. It is defined in the file
when set.
Format: <int>

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.
noaliencache [MM, NUMA, SLAB] Disables the allocation of alien
caches in the slab allocator. Saves per-node memory,
but will impact performance.

noalign [KNL,ARM]

Expand Down Expand Up @@ -1613,6 +1613,37 @@ 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: 4 additions & 0 deletions trunk/Documentation/networking/xfrm_sysctl.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
/proc/sys/net/core/xfrm_* Variables:

xfrm_acq_expires - INTEGER
default 30 - hard timeout in seconds for acquire requests
1 change: 1 addition & 0 deletions trunk/Documentation/sound/alsa/ALSA-Configuration.txt
Original file line number Diff line number Diff line change
Expand Up @@ -917,6 +917,7 @@ 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
Loading

0 comments on commit 59ce24f

Please sign in to comment.