Author | Commit | Message | Commit date | Issues | |
---|---|---|---|---|---|
OpenVZ team | 045f4a5fcb8 | linux-2.6.18-028test005 released | |||
Pavel Emelianov | 42fd51c5b5a | Don'e make vcpu online before migration thread is created.Default vsched's online map must be set separately. | |||
Pavel Emelianov | 6528ef232b2 | Print 'Oops in connect init' warning once.http://bugzilla.openvz.org/show_bug.cgi?id=336 | |||
Pavel Emelianov | b060fd22044 | One more place with while_each_thread to be fixed (taskstats)http://bugzilla.openvz.org/show_bug.cgi?id=327 | |||
Pavel Emelianov | bac710c30ed | Make SysRq-A show info on all vscheds in the system. | |||
Alexey Dobriyan | 4a3fe53f4f2 | [UBC] sys_setublimit: kernel/userspace pointer fixletAfter compat syscalls refactoring do_setublimit() started to accept userspace pointer. sparse warning: kernel/ub/ub_sys.c:155:38: warning: incorrect type in argument 3 (different address spaces) kernel/ub/ub_sys.c:155:38: expected unsigned long *new_limits kernel/ub/ub_sys.c:155:38: got unsigned long [noderef] *limits<asn:1> | |||
Pavel Emelianov | 81e2b593530 | ve_ndisc_cleanup() was in wrong #ifdef-shttp://bugzilla.openvz.org/show_bug.cgi?id=349 | |||
Pavel Emelianov | bff25e21b5d | Mark vcpu as online as soon as it is added to vsched not in vmigration callThis is naturall and helps solving the followig problem. When init is forked no migration calls have happened yet and thus default_vsched's cpu_online_map is empty. Thus set_cpus_allowed() for init won't set CPU_MASK_ANY to init and all tasks will be binded to CPU0. http://bugzilla.openvz.org/show_bug.cgi?id=350 | |||
Pavel Emelianov | 9ecf717c876 | Make fairsched compile with CONFIG_SCHEDSTAT=yhttp://bugzilla.openvz.org/show_bug.cgi?id=327 | |||
Pavel Emelianov | c3a5482941b | FUSE filesystem virtualizationInit/cleanup is performed with ve_hooks. Based on patch from amirkin@ | |||
Pavel Emelianov | 2508c880537 | Move register/unregister_ve_fs_type into fs/filesystems.c | |||
Pavel Emelianov | 2830addd988 | Fix NFS-related error path in vecalls.c | |||
Pavel Emelianov | aa6665ef01d | Some file system inside VPS do not have dedicated mount point | |||
Pavel Emelianov | b41996edac1 | [UBC] Cleanup Makefiles fror UB - make kernel/ub compile under CONFIG_USER_RESOURCE only; - use cond_syscall() to handle CONFIG_USER_RESOURCE=n case. | |||
Pavel Emelianov | b5ee5c88091 | Changed code structure - all ve-related code is moved in kernel/ve | |||
Kirill Korotaev | 3ef5d0786e5 | vcpu_put() locking was broken a bit while porting on 2.6.18It should be always called with interrupts disabled. Reworked vcpu_put() logic into finish_vsched_switch(), which was added to 2 variants of finish_lock_switch(). http://bugzilla.openvz.org/show_bug.cgi?id=346 Signed-Off-BY: Kirill Korotaev <dev@openvz.org> Signed-Off-BY: Pavel Emelianov <xemul@openvz.org> | |||
Kirill Korotaev | fee228323c1 | [PATCH] move_task_off_dead_cpu() should be called with disabled intsmove_task_off_dead_cpu() requires interrupts to be disabled, while migrate_dead() calls it with enabled interrupts. Added appropriate comments to functions and added BUG_ON(!irqs_disabled()) into double_rq_lock() and double_lock_balance() which are the real source of such bugs. http://bugzilla.openvz.org/show_bug.cgi?id=346 Signed-Off-By: Kirill Korotaev <dev@openvz.org> Signed-Off-By: Pavel ... | |||
Pavel Emelianov | 8957095baf0 | Fix misrouted interrupts deadlocksWhile testing kernel on machine with "irqpoll" option I've caught such a lockup: __do_IRQ() spin_lock(&desc->lock); desc->chip->ack(); /* IRQ is ACKed */ note_interrupt() misrouted_irq() handle_IRQ_event() if (...) local_irq_enable_in_hardirq(); /* interrupts are enabled from now */ ... __do_IRQ() /* same IRQ we've started from */ spin_lock(&desc->lo... | |||
Pavel Emelianov | b68b9a9f528 | Check for NULL in ve->forward_table before freeing itSuch error path may occur: do_env_create() /* error before initialising devinet sysctls */ real_put_ve() real_do_env_free() free_ve_sysctl devinet_sysctl_free free_sysctl_clone() /* is called with NULL argument, but sholdn't */ All the rest that is called in real_do_env_free() calls kfree() which already has builtin check for NULL. | |||
Kir Kolyshkin | 50ed9bd2ff6 | Make kernel compile w/o magic sysrqshow_top_slabs() introduced in 028test003 kernel was placed under #ifdef CONFIG_MAGIC_SYSRQ and was used in oom killer. http://bugzilla.openvz.org/show_bug.cgi?id=340 | |||
Pavel Emelianov | 1ba0f41452b | Export some symbols from UBC code to make unix.ko module compilehttp://bugzilla.openvz.org/show_bug.cgi?id=327 | |||
Dmitry Mishin | c526b7a2f92 | Port of recent bind_conflict fix to ipv6reverted check as it is done for ipv4 http://git.openvz.org/?p=linux-2.6.18-openvz;a=commit;h=e3b9585d9d6789e71ff4ec74e3c584cca7c07178 | |||
Pavel Emelianov | 49a7771fd7c | Access virt_pid() with tasklist_lock in procCheck for pid_ailive() is alswo required. | |||
OpenVZ team | fbe6668f616 | linux-2.6.18-028test003 released | |||
Andrey Savochkin | 7b13eee614b | In journal=ordered or journal=data mode retry in ext3_prepare_write() breaks the requirements of journaling of data with respect to metadata. Fix is to call commit_write to commit zero blocks before retry.Author: Andrey Savochkin <saw@sw.ru> Signed-Off-By: Kirill Korotaev <dev@openvz.org> Signed-Off-By: Pavel Emelianov <xemul@openvz.org> | |||
Andrey Mirkin | aecbc90f7f0 | [CPT] Fix restore of inode attributesDue to silly mistake wrong inode mode were set on restore (cpt_mode were used instead of cpt_i_mode). (#71135, #71161) | |||
Pavel Emelianov | 4797f582dc4 | [UBC] Export variables introduced by twbucket accountingNeeded for dccp module. | |||
Pavel Emelianov | 24bc939902f | Compilation fix for showing top slabs. | |||
Andrey Mirkin | 525a30c8bc3 | Remounting of bind-mounts is prohibited if superblock flags are changed only | |||
Pavel Emelianov | 7fd2aad7e6a | Show info about the largest kmem caches before.If OOM killer founds no process to kill it does so. Also added into SysRq-M (show mem) handler. | |||
Pavel Emelianov | e7ef18d34d5 | This patch implements safer printk from places like NMI or from under critical locks (runqueue lock and so on).Printk from NMI watchdog was left unmodified in this version, since other patches are also fiddling with it. NMI watchdog requires great care and consideration, and is left for future inspection. | |||
Andrey Mirkin | 8251265a808 | Enable cpu frequency scaling according to VPS cpulimit value by default.(#70733) | |||
Andrey Mirkin | 266ffc37e5d | Due to misprint sys_fairsched_vcpus() syscall were not declared on x86_64 arch. | |||
Alexandr Andreev | 1d9bea37b32 | [CPT] Check for veth ksyms correctly | |||
Andrey Mirkin | ab98ad422a5 | File owner and access mode were restored incorrectly for deleted files.(#70217) | |||
Pavel Emelianov | ff877c03168 | Fix potential race in accessing dentry flagWhen mounting new tree DCACHE_VIRTUAL may be added to mnt_root->d_flags and this is done w/o d_lock. Since this is done after graft_tree() mnt_root may be returned by link_path_walk()->follow_mount() pair. Thus flag is to be set before dentry becomes visible. Make flag inheritance before calling graft_tree. | |||
Alexandr Andreev | df594aaa779 | KSYM's were rewritten to always access any KSYM'bol via pointer.This simplifies code and makes it work independant of CONFIG_XXX=y or m settings. http://bugzilla.openvz.org/show_bug.cgi?id=284 http://bugzilla.openvz.org/show_bug.cgi?id=283 | |||
Andrey Mirkin | 54f0c7e56a7 | [VETH] We need to be sure that pair device will not be unregistered while we are in veth_xmit().So we close VE0 device and clear pair pointers before unregistering network devices to avoid this race. New function veth_pair_del() is created to avoid code duplication. dev_close() and unregister_netdevice() are protected with rtnl_lock(). (#70690) | |||
Den Lunev | 733601ce796 | [UBC] Enable slow TCP progress after reaching of TCPRCV UB barrier(#65575) | |||
Pavel Emelianov | 617d499e767 | Move vecall.c extern declarations into headers. | |||
Pavel Emelianov | fdbca1cf0c6 | Move cpu_of() lower to make sched.c compile after merge | |||
OpenVZ team | 68e1f4977d6M | Merged 2.6.18.2 from /linux/kernel/git/stable/linux-2.6.18.y | |||
Pavel Emelianov | 3bd4d049f60 | Move declarations of virtalized filesystems to headers.This includes * proc * sysfs * devpts * tmpfs Since they can not be made as module it's OK to use them as is. | |||
Pavel Emelianov | 0ade044f930 | [UBC] Set correct precharge values for init_task.Otherwise file freeing will happen in "swapper" context and will spoil all statistics due to "negative" unsigned long value. http://bugzilla.openvz.org/show_bug.cgi?id=322 Ported from 026 kernel. | |||
Chris Wright | b4d854665ea | Linux 2.6.18.2 | |||
Alan Stern | 108d51a5710 | [PATCH] usbfs: private mutex for open, release, and removeThe usbfs code doesn't provide sufficient mutual exclusion among open, release, and remove. Release vs. remove is okay because they both acquire the device lock, but open is not exclusive with either one. All three routines modify the udev->filelist linked list, so they must not run concurrently. Apparently someone gave this a minimum amount of thought in the past by explicitly acquiring the... | |||
NeilBrown | 3b076a94550 | [PATCH] md: check bio address after mapping through partitions.Partitions are not limited to live within a device. So we should range check after partition mapping. Note that 'maxsector' was being used for two different things. I have split off the second usage into 'old_sector' so that maxsector can be still be used for it's primary usage later in the function. Cc: Jens Axboe <jens.axboe@oracle.com> Signed-off-by: Neil Brown <neilb@suse.de> Signed-off... | |||
James Morris | d0239f35c7a | [PATCH] IPV6: fix lockup via /proc/net/ip6_flowlabel [CVE-2006-5619]There's a bug in the seqfile handling for /proc/net/ip6_flowlabel, where, after finding a flowlabel, the code will loop forever not finding any further flowlabels, first traversing the rest of the hash bucket then just looping. This patch fixes the problem by breaking after the hash bucket has been traversed. Note that this bug can cause lockups and oopses, and is trivially invoked by an unpr... | CVE-2006 | ||
Stephen Hemminger | f3fcd7f6351 | [PATCH] tcp: cubic scaling errorDoug Leith observed a discrepancy between the version of CUBIC described in the papers and the version in 2.6.18. A math error related to scaling causes Cubic to grow too slowly. Patch is from "Sangtae Ha" <sha2@ncsu.edu>. I validated that it does fix the problems. See the following to show behavior over 500ms 100 Mbit link. Sender (2.6.19-rc3) --- Bridge (2.6.18-rt7) ------- Receiver (2.6.... | |||
Alan Cox | a5f1d1d1849 | [PATCH] JMB 368 PATA detectionThe Jmicron JMB368 is PATA only so has the PATA on function zero. Don't therefore skip function zero on this device when probing Signed-off-by: Alan Cox <alan@redhat.com> Cc: <stable@kernel.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org> Signed-off-by: Chris Wright <chrisw@sous-sol.org> |
Commits
Author | Commit | Commit date | Issues | |
---|---|---|---|---|
OpenVZ team | 045f4a5fcb8 | |||
Pavel Emelianov | 42fd51c5b5a | |||
Pavel Emelianov | 6528ef232b2 | |||
Pavel Emelianov | b060fd22044 | |||
Pavel Emelianov | bac710c30ed | |||
Alexey Dobriyan | 4a3fe53f4f2 | |||
Pavel Emelianov | 81e2b593530 | |||
Pavel Emelianov | bff25e21b5d | |||
Pavel Emelianov | 9ecf717c876 | |||
Pavel Emelianov | c3a5482941b | |||
Pavel Emelianov | 2508c880537 | |||
Pavel Emelianov | 2830addd988 | |||
Pavel Emelianov | aa6665ef01d | |||
Pavel Emelianov | b41996edac1 | |||
Pavel Emelianov | b5ee5c88091 | |||
Kirill Korotaev | 3ef5d0786e5 | |||
Kirill Korotaev | fee228323c1 | |||
Pavel Emelianov | 8957095baf0 | |||
Pavel Emelianov | b68b9a9f528 | |||
Kir Kolyshkin | 50ed9bd2ff6 | |||
Pavel Emelianov | 1ba0f41452b | |||
Dmitry Mishin | c526b7a2f92 | |||
Pavel Emelianov | 49a7771fd7c | |||
OpenVZ team | fbe6668f616 | |||
Andrey Savochkin | 7b13eee614b | |||
Andrey Mirkin | aecbc90f7f0 | |||
Pavel Emelianov | 4797f582dc4 | |||
Pavel Emelianov | 24bc939902f | |||
Andrey Mirkin | 525a30c8bc3 | |||
Pavel Emelianov | 7fd2aad7e6a | |||
Pavel Emelianov | e7ef18d34d5 | |||
Andrey Mirkin | 8251265a808 | |||
Andrey Mirkin | 266ffc37e5d | |||
Alexandr Andreev | 1d9bea37b32 | |||
Andrey Mirkin | ab98ad422a5 | |||
Pavel Emelianov | ff877c03168 | |||
Alexandr Andreev | df594aaa779 | |||
Andrey Mirkin | 54f0c7e56a7 | |||
Den Lunev | 733601ce796 | |||
Pavel Emelianov | 617d499e767 | |||
Pavel Emelianov | fdbca1cf0c6 | |||
OpenVZ team | 68e1f4977d6M | |||
Pavel Emelianov | 3bd4d049f60 | |||
Pavel Emelianov | 0ade044f930 | |||
Chris Wright | b4d854665ea | |||
Alan Stern | 108d51a5710 | |||
NeilBrown | 3b076a94550 | |||
James Morris | d0239f35c7a | CVE-2006 | ||
Stephen Hemminger | f3fcd7f6351 | |||
Alan Cox | a5f1d1d1849 |