6,534
edits
Changes
created
== Changes ==
* CPU Fair scheduler.
* Mainstream security fixes (up to 2.6.16.15).
* Compilation fixes.
* UBC accounting fixes.
=== Config changes ===
Same as {{Kernel link|2.6.16|026test009.1}}, plus:<br/>
Added:
* +<code>CONFIG_FAIRSCHED=y</code>
* +<code>CONFIG_SCHED_VCPU=y</code>
* +<code>CONFIG_INPUT_EVDEV=y</code>
Removed:
* -<code>CONFIG_DETECT_SOFTLOCKUP</code> (was y)
{{Kernel git log|2.6.16|026test012.1}}
<includeonly>[[{{PAGENAME}}/changes#Patches|{{Long changelog message}}]]</includeonly><noinclude>
=== Patches ===
==== diff-cpt-comp-errno-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed cpt compilation on ia32 with gcc 4.0.2
</div>
==== diff-cpt-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed compilation for CONFIG_VZ_CHECKPOINT=y
* static eventpoll_ops
* strut for __put_namespace
* common files for cpt and rst modules
* emt64 kernel thread creation
</div>
==== diff-cpt-comp-htlb-ipv6-fix-20060426 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
[CPT] Fixed compilation with CONFIG_HUGETLB and CONFIG_IPV6 enabled.
</div>
==== diff-fairsched-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Fair cpu scheduler
</div>
==== diff-fairsched-init-boot-20060510 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Initialize vcpus for idle_vsched and default_vsched in migration_call
Normally this should be done after CPU_UP_PREPARE event, but some arches
(i386) call init_idle() before it, so init vcpus there as well.
This patch fixes boot process for x86_64 smp kernel.
</div>
==== diff-fairsched-ppc-task-cpu-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Fix usage of task_cpu on powerpc.
</div>
==== diff-fairsched-up-comp-20060502 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Fixed fairsched compilation for UP
</div>
==== diff-fairsched-vcpu-del-fix-20060503 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Don't migrate migration thread from dying vcpu on VPS stop.
Otherwise on destroying the last cpu destination will be NR_CPUS cpu
and it will cause an OOPs in __migrate_task() (#61877).
</div>
==== diff-fairsched-yield-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Fix vsched_del_vcpu to work under lock_kernel()
vzioctls are called under lock_kernel() as all other ioctl's.
This lead to the fact that scheduler code can do cpu_relax() with
lock_kernel() being held, which isn't good anyhow.
I replaced one such non-fatal cpu_relax() with yield(). It is not fatal
since vcpu has no more tasks and should be switched from at this moment.
</div>
==== diff-faudit-statfs-fix-20060421 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Compat layer in 64bit systems didn't call faudit on statfs calls.
Now faudit uses struct kstatfs for patching statfs data and
compat layer uses it.
{{Bug|142}}.
</div>
==== diff-lockkernel-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Remove lock_kernel() from vzioctls, since nothing in our code requires it...
</div>
==== diff-merge-2.6.16.13-20050504 ====
<div class="change">
Patch from OpenVZ team <devel@openvz.org>:<br/>
Merged 2.6.16.13 from /linux/kernel/git/stable/linux-2.6.16.y
</div>
==== diff-merge-2.6.16.15-20060510 ====
<div class="change">
Patch from OpenVZ team <devel@openvz.org>:<br/>
Merged 2.6.16.15 from /linux/kernel/git/stable/linux-2.6.16.y
</div>
==== diff-merge-2.6.16.9-20060424 ====
<div class="change">
Patch from OpenVZ team <devel@openvz.org>:<br/>
Merge 2.6.16.9 from /linux/kernel/git/stable/linux-2.6.16.y
</div>
==== diff-oops-decode-fix ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Some fixes for disabling of decoding calltraces
* some places were missed in emt64
* make it "on" by default
</div>
==== diff-sched-stats-20060502 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Scheduler tasks statistics needed with fairsched.
Adds percpu counters for number of running, sleeping, stopped etc
tasks and updates them in proper places. nr_xxx() functions are
patched to use them.
Patch is needed for fairsched to calculate these numbers correctly.
</div>
==== diff-ubc-cache-counter-free-20060503 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Free ubc cache counters on cache destroy.
</div>
==== diff-ubc-mremap-fix-20060503 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Charge correct size in sys_mremap.
Since only (new_len - old_len) region is added to address space
this very size should be charged, not the whole new_len.
{{Bug|141}}.
</div>
==== diff-ubc-pbc-comp-fix-20060422 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Compilation without USER_RSS_ACCOUNTING fix.
ub_init_pbc() is in kernel/ub/ub_page_bc.c which is compiled
under CONFIG_USER_RSS_ACCOUNTING, not CONFIG_USER_RESOURCE
</div>
==== diff-ubc-vmrss-fix-20060421 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Handle of mapping (with vma merging) of /dev/zero
* lost ub_unused_privvm_dec in zeromap_pte_range caused "ub helds xxx in unused_privvmpages on put" message
* do_mmap_pgoff can perform such a thing:
: # allocate a new VMA
: # populate it with pages via file->f_ops->mmap
: # try to merge this VMA with vma_merge
: # free VMA without inserting it in to list
: # as the result the expanded with vma_merge vm_area doesn't account populated rss. So vma_rss counter must be tuned in do_mmap_pgoff.
</div>
==== diff-ubc-xip-include-20060428 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Add missed include in mm/filemap_xip.c
[http://bugs.gentoo.org/show_bug.cgi?id=131250 Gentoo bug #131250]
</div>
==== diff-ve-higetlb-fix-20060506 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Fix hugetlb compilation for CONFIG_VE=n case
</div>
==== diff-ve-kstat-fix-20060424 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Fix mm/vmscan.c compilation
<pre>
CC mm/vmscan.o
mm/vmscan.c: In function `refill_inactive_zone':
mm/vmscan.c:1246: warning: ISO C90 forbids mixed declarations and code
</pre>
{{Bug|146}}.
</div>
==== diff-ve-netdev-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed compilation for CONFIG_VE_NETDEV=y
</div>
==== diff-venet-resetsaddr-20060420 ====
<div class="change">
Patch from Denis Lunev <den@openvz.org>:<br/>
This patch sets skb destination address as a source in ip_send_reply
(TCP reset)
</div>
==== diff-ve-nf-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fix compilation for CONFIG_VE_IPTABLES=y
</div>
==== diff-ve-sched-stat-iowait-20060417 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Per VPS i/o wait time was accounted wrongly as presense
of uninterruptible tasks, not those in IO wait state.
[http://forum.openvz.org/index.php?t=tree&goto=2686&#msg_2686 http://forum.openvz.org/index.php?t=tree&goto=2686&#msg_2686]
</div>
==== diff-ve-vzmon-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed compilation for CONFIG_VZ_WDOG=y
</div>
</noinclude>
* CPU Fair scheduler.
* Mainstream security fixes (up to 2.6.16.15).
* Compilation fixes.
* UBC accounting fixes.
=== Config changes ===
Same as {{Kernel link|2.6.16|026test009.1}}, plus:<br/>
Added:
* +<code>CONFIG_FAIRSCHED=y</code>
* +<code>CONFIG_SCHED_VCPU=y</code>
* +<code>CONFIG_INPUT_EVDEV=y</code>
Removed:
* -<code>CONFIG_DETECT_SOFTLOCKUP</code> (was y)
{{Kernel git log|2.6.16|026test012.1}}
<includeonly>[[{{PAGENAME}}/changes#Patches|{{Long changelog message}}]]</includeonly><noinclude>
=== Patches ===
==== diff-cpt-comp-errno-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed cpt compilation on ia32 with gcc 4.0.2
</div>
==== diff-cpt-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed compilation for CONFIG_VZ_CHECKPOINT=y
* static eventpoll_ops
* strut for __put_namespace
* common files for cpt and rst modules
* emt64 kernel thread creation
</div>
==== diff-cpt-comp-htlb-ipv6-fix-20060426 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
[CPT] Fixed compilation with CONFIG_HUGETLB and CONFIG_IPV6 enabled.
</div>
==== diff-fairsched-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Fair cpu scheduler
</div>
==== diff-fairsched-init-boot-20060510 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Initialize vcpus for idle_vsched and default_vsched in migration_call
Normally this should be done after CPU_UP_PREPARE event, but some arches
(i386) call init_idle() before it, so init vcpus there as well.
This patch fixes boot process for x86_64 smp kernel.
</div>
==== diff-fairsched-ppc-task-cpu-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Fix usage of task_cpu on powerpc.
</div>
==== diff-fairsched-up-comp-20060502 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Fixed fairsched compilation for UP
</div>
==== diff-fairsched-vcpu-del-fix-20060503 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Don't migrate migration thread from dying vcpu on VPS stop.
Otherwise on destroying the last cpu destination will be NR_CPUS cpu
and it will cause an OOPs in __migrate_task() (#61877).
</div>
==== diff-fairsched-yield-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Fix vsched_del_vcpu to work under lock_kernel()
vzioctls are called under lock_kernel() as all other ioctl's.
This lead to the fact that scheduler code can do cpu_relax() with
lock_kernel() being held, which isn't good anyhow.
I replaced one such non-fatal cpu_relax() with yield(). It is not fatal
since vcpu has no more tasks and should be switched from at this moment.
</div>
==== diff-faudit-statfs-fix-20060421 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Compat layer in 64bit systems didn't call faudit on statfs calls.
Now faudit uses struct kstatfs for patching statfs data and
compat layer uses it.
{{Bug|142}}.
</div>
==== diff-lockkernel-20060502 ====
<div class="change">
Patch from Kirill Korotaev <dev@openvz.org>:<br/>
Remove lock_kernel() from vzioctls, since nothing in our code requires it...
</div>
==== diff-merge-2.6.16.13-20050504 ====
<div class="change">
Patch from OpenVZ team <devel@openvz.org>:<br/>
Merged 2.6.16.13 from /linux/kernel/git/stable/linux-2.6.16.y
</div>
==== diff-merge-2.6.16.15-20060510 ====
<div class="change">
Patch from OpenVZ team <devel@openvz.org>:<br/>
Merged 2.6.16.15 from /linux/kernel/git/stable/linux-2.6.16.y
</div>
==== diff-merge-2.6.16.9-20060424 ====
<div class="change">
Patch from OpenVZ team <devel@openvz.org>:<br/>
Merge 2.6.16.9 from /linux/kernel/git/stable/linux-2.6.16.y
</div>
==== diff-oops-decode-fix ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Some fixes for disabling of decoding calltraces
* some places were missed in emt64
* make it "on" by default
</div>
==== diff-sched-stats-20060502 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Scheduler tasks statistics needed with fairsched.
Adds percpu counters for number of running, sleeping, stopped etc
tasks and updates them in proper places. nr_xxx() functions are
patched to use them.
Patch is needed for fairsched to calculate these numbers correctly.
</div>
==== diff-ubc-cache-counter-free-20060503 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Free ubc cache counters on cache destroy.
</div>
==== diff-ubc-mremap-fix-20060503 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Charge correct size in sys_mremap.
Since only (new_len - old_len) region is added to address space
this very size should be charged, not the whole new_len.
{{Bug|141}}.
</div>
==== diff-ubc-pbc-comp-fix-20060422 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Compilation without USER_RSS_ACCOUNTING fix.
ub_init_pbc() is in kernel/ub/ub_page_bc.c which is compiled
under CONFIG_USER_RSS_ACCOUNTING, not CONFIG_USER_RESOURCE
</div>
==== diff-ubc-vmrss-fix-20060421 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Handle of mapping (with vma merging) of /dev/zero
* lost ub_unused_privvm_dec in zeromap_pte_range caused "ub helds xxx in unused_privvmpages on put" message
* do_mmap_pgoff can perform such a thing:
: # allocate a new VMA
: # populate it with pages via file->f_ops->mmap
: # try to merge this VMA with vma_merge
: # free VMA without inserting it in to list
: # as the result the expanded with vma_merge vm_area doesn't account populated rss. So vma_rss counter must be tuned in do_mmap_pgoff.
</div>
==== diff-ubc-xip-include-20060428 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Add missed include in mm/filemap_xip.c
[http://bugs.gentoo.org/show_bug.cgi?id=131250 Gentoo bug #131250]
</div>
==== diff-ve-higetlb-fix-20060506 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Fix hugetlb compilation for CONFIG_VE=n case
</div>
==== diff-ve-kstat-fix-20060424 ====
<div class="change">
Patch from Pavel Emelianov <xemul@openvz.org>:<br/>
Fix mm/vmscan.c compilation
<pre>
CC mm/vmscan.o
mm/vmscan.c: In function `refill_inactive_zone':
mm/vmscan.c:1246: warning: ISO C90 forbids mixed declarations and code
</pre>
{{Bug|146}}.
</div>
==== diff-ve-netdev-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed compilation for CONFIG_VE_NETDEV=y
</div>
==== diff-venet-resetsaddr-20060420 ====
<div class="change">
Patch from Denis Lunev <den@openvz.org>:<br/>
This patch sets skb destination address as a source in ip_send_reply
(TCP reset)
</div>
==== diff-ve-nf-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fix compilation for CONFIG_VE_IPTABLES=y
</div>
==== diff-ve-sched-stat-iowait-20060417 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Per VPS i/o wait time was accounted wrongly as presense
of uninterruptible tasks, not those in IO wait state.
[http://forum.openvz.org/index.php?t=tree&goto=2686&#msg_2686 http://forum.openvz.org/index.php?t=tree&goto=2686&#msg_2686]
</div>
==== diff-ve-vzmon-comp-fix-20060424 ====
<div class="change">
Patch from Dmitry Mishin <dim@openvz.org>:<br/>
Fixed compilation for CONFIG_VZ_WDOG=y
</div>
</noinclude>