[PATCH net-next] fib_trie: only calc for the un-first node

2013-10-07 Thread baker . kernel
, pos, n-key); tn = tnode_new(n-key, newpos, 1); } else { -- 1.7.9.5 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html

[PATCH v2 00/12] VFS hot tracking

2013-05-13 Thread zwu . kernel
: The patchset can be obtained via my kernel dev git on github: git://github.com/wuzhy/kernel.git hot_tracking If you're interested, you can also review them via https://github.com/wuzhy/kernel/commits/hot_tracking For how to use and more other info and performance report, please check hot_tracking.txt

[PATCH v2 01/12] VFS hot tracking: introduce some data structures

2013-05-13 Thread zwu . kernel
: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 02/12] VFS hot tracking: add i/o freq tracking hooks

2013-05-13 Thread zwu . kernel
, + list_to_page(pages)-index PAGE_CACHE_SHIFT, + (size_t)nr_pages * PAGE_CACHE_SIZE, 0); + blk_start_plug(plug); if (mapping-a_ops-readpages) { -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body

[PATCH v2 03/12] VFS hot tracking: add one workqueue to update hot map

2013-05-13 Thread zwu . kernel
-- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 05/12] VFS hot tracking, rcu: introduce one rcu macro for list

2013-05-13 Thread zwu . kernel
:the struct list_head pointer. -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 06/12] VFS hot tracking, seq_file: introduce one set of rcu seq_list interfaces

2013-05-13 Thread zwu . kernel
the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 07/12] VFS hot tracking: add debugfs support

2013-05-13 Thread zwu . kernel
From: Zhi Yong Wu wu...@linux.vnet.ibm.com Add a directory 'dev_name' in /sys/kernel/debug/hot_track/ for each volume that contains four files which are 'inode_stat', 'extent_stat', 'inode_spot', and 'extent_spot'. Signed-off-by: Chandra Seetharaman sekha...@us.ibm.com Signed-off-by: Zhi Yong

[PATCH v2 08/12] VFS hot tracking: add one ioctl interface

2013-05-13 Thread zwu . kernel
*inode); +extern u32 hot_temp_calc(struct hot_comm_item *ci); static inline u64 hot_shift(u64 counter, u32 bits, bool dir) { -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http

[PATCH v2 09/12] VFS hot tracking, procfs: add two proc interfaces

2013-05-13 Thread zwu . kernel
wu...@linux.vnet.ibm.com --- fs/hot_tracking.c| 12 +--- fs/hot_tracking.h| 3 --- include/linux/hot_tracking.h | 7 +++ kernel/sysctl.c | 14 ++ 4 files changed, 30 insertions(+), 6 deletions(-) diff --git a/fs/hot_tracking.c b/fs

[PATCH v2 10/12] VFS hot tracking, btrfs: add hot tracking support

2013-05-13 Thread zwu . kernel
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 11/12] VFS hot tracking: add documentation

2013-05-13 Thread zwu . kernel
.) Mount debugfs at first: + +$ mount -t debugfs none /sys/kernel/debug +$ ls -l /sys/kernel/debug/hot_track/ +total 0 +drwxr-xr-x 2 root root 0 Aug 8 04:40 sdb +$ ls -l /sys/kernel/debug/hot_track/sdb +total 0 +-rw-r--r-- 1 root root 0 Aug 8 04:40 inode_stat +-rw-r--r-- 1 root root 0 Aug 8 04:40

[PATCH v2 12/12] VFS hot tracking: add fs hot type support

2013-05-13 Thread zwu . kernel
) { -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 04/12] VFS hot tracking: register one shrinker

2013-05-13 Thread zwu . kernel
m_lock; + atomic_t hot_map_nr; struct workqueue_struct *update_wq; struct delayed_work update_work; + struct shrinker hot_shrink; }; extern void __init hot_cache_init(void); -- 1.7.11.7 -- To unsubscribe from this list: send the line unsubscribe linux-kernel

Re: [PATCH] bcache: Fix a shrinker deadlock

2013-09-04 Thread kernel neophyte
the fix... no crashes/deadlock. But I see lower benchmark numbers for random write.. is this expected for this change ? Thanks Kent. -Suhas --- On Thu, Aug 29, 2013 at 05:29:54PM -0700, kernel neophyte wrote: We are evaluating to use bcache on our production systems where the caching devices

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Wed, Aug 28, 2013 at 12:20 PM, Stefan Priebe s.pri...@profihost.ag wrote: Am 28.08.2013 20:47, schrieb kernel neophyte: On Wed, Aug 28, 2013 at 11:38 AM, Stefan Priebe - Profihost AG s.pri...@profihost.ag wrote: I don't had one for a few days. Which kernel so you use? 3.10 kernel

Possible Bcache Bug

2013-08-28 Thread kernel neophyte
linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Bcache sleeps forever on random writes

2013-08-29 Thread kernel neophyte
-ebf39840191d [ 4442.163661] INFO: task kworker/0:0:4 blocked for more than 120 seconds. [ 4442.163671] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. [ 4442.163678] kworker/0:0 D 81813d40 0 4 2 0x [ 4442.163695] Workqueue: bcache

Re: Bcache sleeps forever on random writes

2013-08-29 Thread kernel neophyte
] [816c795c] ret_from_fork+0x7c/0xb0 [ 3243.200028] [81069e80] ? flush_kthread_worker+0xb0/0xb0 [ 3243.200034] INFO: task bcache_allocato:1868 blocked for more than 120 seconds. [ 3243.200039] echo 0 /proc/sys/kernel/hung_task_timeout_secs disables this message. [ 3243.200043

[PATCH net-next] fib_trie: avoid a redundant bit judgement in inflate

2013-09-29 Thread baker . kernel
), + node); continue; } -- 1.8.1.2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH V2 net-next] fib_trie: avoid a redundant bit judgement in inflate

2013-09-29 Thread baker . kernel
), + node); continue; } -- 1.8.1.2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

[PATCH V3 net-next] fib_trie: avoid a redundant bit judgement in inflate

2013-09-30 Thread baker . kernel
unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Клиентскиe базы Email:tsemnolutskytsemnol...@gmail.com skype: rwer.wqerq ICQ: 446444644 Собeрeм для Вac koнтakты тoльko Baших потенциальныx клиентов нecкoльko дecятkoв тысяч мeнee чeм за сутkи

2013-12-14 Thread linux-kernel
Клиентскиe базы Email:tsemnolutskytsemnol...@gmail.com skype: rwer.wqerq ICQ: 446444644 Собeрeм для Вac koнтakты тoльko Baших потенциальныx клиентов нecкoльko дecятkoв тысяч мeнee чeм за сутkи -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message

[PATCH] asymmetric keys: explicitly add the leading zero byte to encoded message

2013-07-02 Thread joeyli . kernel
].data, RSA_ASN1_templates[sig-pkey_hash_algo].size); -- 1.6.4.2 -- To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read

Клиентские базы Тел +79133913837 Email: nonen2...@gmail.com Узнайте подробнее!!!

2015-08-14 Thread linux-kernel
the line unsubscribe linux-kernel in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Клиентские базы +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Узнайте подробнее!

2017-02-12 Thread linux-kernel
Клиентские базы +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Узнайте подробнее!

Клиентские базы +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Узнайте подробнее!

2017-02-12 Thread linux-kernel
Клиентские базы +79139230330 Skype: prodawez390 Email: prodawez...@gmail.com Узнайте подробнее!

[no subject]

2017-09-05 Thread linux-kernel
73233.doc Description: MS-Word document

Re: [patch v3] mm, oom: fix unnecessary killing of additional processes

2018-07-03 Thread penguin-kernel
David Rientjes wrote: > Ping? > > This can be something that can easily be removed if it becomes obsoleted > because the oom reaper is always able to free memory to the extent of > exit_mmap(). I argue that it cannot, because it cannot do free_pgtables() > for large amounts of virtual memory,

Change your password qwerty immediately. Your account has been hacked.

2018-10-31 Thread linux-kernel
I greet you! I have bad news for you. 06/28/2018 - on this day I hacked your operating system and got full access to your account linux-kernel@vger.kernel.org On that day your account (linux-kernel@vger.kernel.org) password was: qwerty It is useless to change the password, my malware intercepts

linux-kernel@vger.kernel.org has password qwerty. Password must be changed

2018-10-27 Thread linux-kernel
Hello! I'm a programmer who cracked your email account and device about half year ago. You entered a password on one of the insecure site you visited, and I catched it. Your password from linux-kernel@vger.kernel.org on moment of crack: qwerty Of course you can will change your password

Hacking Alert! You account was hacked (your password:qwerty)

2018-11-11 Thread linux-kernel
Dear user of vger.kernel.org! I am a spyware software developer. Your account has been hacked by me in the summer of 2018. I understand that it is hard to believe, but here is my evidence: - I sent you this email from your account. - Password from account linux-kernel@vger.kernel.org: qwerty

Delete Message After Reading!

2018-10-05 Thread linux-kernel
Hello! I'm a member of an international hacker group. As you could probably have guessed, your account linux-kernel@vger.kernel.org was hacked, because I sent message you from it. Now I have access to you accounts! For example, your password for linux-kernel@vger.kernel.org is qwerty Within

Your Account Was Hacked!

2018-10-07 Thread linux-kernel
Hi, dear user of vger.kernel.org We have installed one RAT software into you device. For this moment your email account is hacked (see on "from address", I messaged you from your account). Your password for linux-kernel@vger.kernel.org: qwerty I have downloaded all confidential inform

Your Secret Life

2018-09-25 Thread linux-kernel
Hello! I'm a member of an international hacker group. As you could probably have guessed, your account linux-kernel@vger.kernel.org was hacked, I sent message you from it. Now I have access to you accounts! You still do not believe it? So, this is your password: qwerty , right? Within

Kernel 2.4.2 - kernel BUG at apic.c:220!

2001-02-23 Thread pf-kernel
When running 2.4.2 on a pentium 4, I get the following during boot: (any typos are due to me typing this in manually, off of what I see on the monitor connected to the P4. I've made sure the addresses are correct, at least... note that this happens with noapic passed as an option to the kernel

Re: Kernel 2.4.2 - kernel BUG at apic.c:220!

2001-02-24 Thread pf-kernel
On Sat, 24 Feb 2001, Manfred Spraul wrote: > > kernel BUG at apic.c:220! > >From apic.c: > <<<<<<<<<<< > > /* > * Double-check wether this APIC is really registered. > */ > if

2.4.x on netpliance i-opener

2001-03-17 Thread Kernel Jake
tepien has indicated to me in e-mail that his problem went away on a non-i-opener motherboard with a VIA chipset when he upgraded to 2.4.0. There is a long history of this issue. There was a patch posted to the linux-kernel mailing list that allegedly solved the problem: http://www.uwsg.indiana.edu

Given an image, how can show its config?

2000-09-20 Thread linux-kernel
Dear all, I would like to upgrade my kernel which is bundled with Red Hat. However, I don't want to lose modules/functions it has complied. How can I do it? Is there any command to check the current config and how can I check the modules it has as well? Many thanks!!! Best regards, Boris

No Subject

2000-12-14 Thread vidar-kernel
On my newly installed 2 CPU server with redhat-7.0 I have two Adaptec quartet64 (ANA-62044) ethernet cards. Using the 2.4.0-testxx kernel I get this kernel error for something that looks like every single packet passing the network interface, providing vast syslog files, and makes i t impossible

about linux-2.4.0-test13pre3

2000-12-18 Thread linux-kernel
Hi, Where can I get the linux-2.4.0-test13pre3 -- Best regards, linux-kernel mailto:[EMAIL PROTECTED] - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

Re: 2.4.0-testX fails to compile on my Athlon

2001-01-01 Thread wish-kernel
when selecting Athlon with SMP by mistake. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] Please read the FAQ at http://www.tux.org/lkml/

newbie, 2.4.0-test11-pre4 no compile when CONFIG_AGP=y

2000-11-14 Thread linux-kernel
I'll preface this saying I'm a kernel compile newbie and I could be making the most basic of mistakes. My problem is that I have an Asus CUSL2 board and am attempting to use the Intel i815-based on-board video. I'm on Redhat 7.0, which works great with the stock 2.2.16-22 kernel. I am able

loopback mount broken in 2.4.2-pre4

2001-02-20 Thread pf-kernel
). --- Unsolicited advertisments to this address are not welcome. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Re: [OT]Linus trademarks Linux?!!

2005-08-22 Thread Kernel Hacker
hing about it or not. Thanks Sire! No more confusion, now. Regards DD Linus - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

vmlist_lock locking

2006-12-07 Thread kernel list
executed when holding vmlist_lock is walking through the list, so it shouldn't change the behavior. If it does make sense, BUG_ON(in_interrupt()) can be changed to BUG_ON(in_irq()). - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL

"Unable to handle kernel NULL pointer dereference" in 2.6.18.2 (2.6.18-1.2239.fc5)

2006-11-17 Thread linux-kernel
2220SE's with aacraid) please let me know. TIA, Colin. Unable to handle kernel NULL pointer dereference at 0050 RIP: [] memcpy_c+0xb/0x14 PGD 0 Oops: 0002 [1] SMP last sysfs file: /class/input/input1/capabilities/sw CPU 0 Modules linked in: ipmi_devintf ipmi_si ipmi_msghandler i2c_isa

2.6.20.2: kernel BUG at fs/nfs/write.c:505!

2007-03-12 Thread Stresslinux Kernel
Hello List, running the following command /sbin/grub-install --root-directory=/mnt --no-floppy /dev/sda from a nfsroot system with kernel 2.6.20.2 (x86_64) results in: [ cut here ] kernel BUG at fs/nfs/write.c:505! invalid opcode: [1] SMP CPU 0 Modules linked

wireless kernel driver porting

2007-01-31 Thread nahidesafe-kernel
Hi all, I've bought a USB wireless TA bundled with GPL Linux drivers for 2.6.11 kernel series. The driver seems to compile fine with 2.6.15-gentoo-r1 on x86, but can't be used on x86_64 systems. Technical support can't provide a porting of the driver in the short time. It seems

Re: VIA C7 / VIA PC-1 (PC2500) anyone?

2007-06-12 Thread Linux-kernel
ait... > $ _ > > (this is 100% idle machine, just booted). > > (There are other - simple and comples - applications which > inhibits this problem. For example, it 99% reliable segfaults > on compiling aic79xx_core.c file in kernel, while all the rest > (in my configuration an

tcp/ip stack question

2007-06-07 Thread kernel coder
dev and call dev_queue_xmit fucntion,so that it transmitted through second interface card.Is mine approach correct? shahzad - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.

system call implementation for x86_64

2007-05-19 Thread kernel coder
; (num), "D" (buffer), ); return ret; } When i call this ,nothing gets printed in file /var/log/messages.Am i missing something ? Actually i wana pass a pointer to kernel from user space.Later on data will be copied to that memory location .i am thinking of using copy

bechmarking kernel code

2007-05-03 Thread kernel coder
hi, I'm profiling some part of kernel code.Mine profiling mechanism is based on rdtsc instruction. Please tell me if i'm profiling correctly.I'm teting linux kernel 2.6.15 and mine system is P4. function(){ unsigned long long c1,c2,c3,c4,c5; before=readtsc

AMD dual core opetron optimization

2007-04-30 Thread kernel coder
hi, I'm doing trying to write some optimized code for AMD dual core opetron processor.But things are getting no where.I've installed Fedora 5 with 2.6 series Linux kernel and 4 series GCC Following are few lines of code which are consuming close to 100 cycles.Yes this is not the forum

cann't dump info to user file from kernel

2007-10-02 Thread kernel coder
hi, I'm trying to dump some information from dev.c to user space file.Following is the code which i'm using to write to user spcae file.I'm using 2.6.22.x86_64 kernel. #define _write(f, buf, sz) (f->f_op->write(f, buf, sz, >f_pos)) #define WRITABLE(f) (f->f_op &&

build error

2007-10-02 Thread linux-kernel
[please CC: me, my subscribe mail was greylisted] Morning! My make run for 2.6.23-rc9 ends like this: GEN .version CHK include/linux/compile.h UPD include/linux/compile.h CC init/version.o LD init/built-in.o LD .tmp_vmlinux1 kernel/built-in.o: In function

[TOMOYO #5 01/18] Add struct vfsmount to struct task_struct.

2007-11-16 Thread penguin-kernel
nfo for LSM hooks. */ + struct vfsmount *last_vfsmount; }; /* -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 03/18] Replace VFS with wrapper functions.

2007-11-16 Thread penguin-kernel
out_mknod_dput; - err = vfs_mknod(nd.path.dentry->d_inode, dentry, mode, 0); + err = vfs_mknod2(nd.path.dentry->d_inode, dentry, nd.path.mnt, +mode, 0); mnt_drop_write(nd.path.mnt); if (err) goto out_mknod_dpu

[TOMOYO #5 00/18] TOMOYO Linux - MAC based on process invocation history.

2007-11-16 Thread penguin-kernel
We would like to merge either AppArmor's "Pass struct vfsmount to ..." patches or our patches marked as [01/18], [02/18], [03/18] into mainline kernel so that AppArmor and TOMOYO Linux can safely access "struct vfsmount" from LSM. * Avoid rcu_read_lock() by inserting mb()

[TOMOYO #5 16/18] Conditional permission support.

2007-11-16 Thread penguin-kernel
if (tmy_io_printf(head, "%s", + cc_keyword[right].keyword)) + break; + } else { + tmy_print_ulong(buffer, sizeof(buffer) - 1, *ptr2++, +

[TOMOYO #5 17/18] Kconfig and Makefile

2007-11-16 Thread penguin-kernel
ibe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 13/18] Signal control functions.

2007-11-16 Thread penguin-kernel
nfo *domain, + const struct condition_list *cond, + const bool is_delete) +{ + int sig; + char *domainname = strchr(data, ' '); + + if (sscanf(data, "%d", ) == 1 && domainname && + tmy_is_domain_def(domainname

[TOMOYO #5 09/18] File access control functions.

2007-11-16 Thread penguin-kernel
l_path_info(buf1); + } + if (!buf2->is_dir) { + strcat((char *) buf2->name, "/"); + tmy_fill_path_info(buf2); + } + } + } + error =

[TOMOYO #5 07/18] Domain transition functions.

2007-11-16 Thread penguin-kernel
ginal_name)) + continue; + memset(real_program_name, 0, TMY_MAX_PATHNAME_LEN); + strncpy(real_program_name, + ptr->aggregated_name->name, + TMY_MAX_PATHNAME_LEN - 1);

[TOMOYO #5 08/18] Auditing interface.

2007-11-16 Thread penguin-kernel
TOMOYO Linux uses /sys/kernel/security/tomoyo/ interface for reporting access logs in domain policy format. One is 'grant_log', used for auditing accesses which are granted in the TOMOYO Linux policy. The other is 'reject_log', used for auditing accesses which are not granted in the TOMOYO Linux

[TOMOYO #5 02/18] Add wrapper functions for VFS helper functions.

2007-11-16 Thread penguin-kernel
(mnt); + return ret; +} + extern int get_write_access(struct inode *); extern int deny_write_access(struct file *); static inline void put_write_access(struct inode * inode) -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 04/18] Data structures and prototype defitions.

2007-11-16 Thread penguin-kernel
*/ +#define TMY_SYS_PIVOT_ROOT 29 +#define TMY_MAX_CAPABILITY_INDEX 30 + +/ Index numbers for updates counter. / + +#define TMY_UPDATE_DOMAINPOLICY0 +#define TMY_UPDATE_SYSTEMPOLICY 1 +

[TOMOYO #5 10/18] argv0 check functions.

2007-11-16 Thread penguin-kernel
if (!argv0) + return -EINVAL; + + *argv0++ = '\0'; + + return tmy_add_argv0_entry(data, argv0, domain, cond, + is_delete); +} -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 11/18] Network access control functions.

2007-11-16 Thread penguin-kernel
o if permission denied. + */ +int tmy_network_accept_acl(const bool is_ipv6, const u8 *address, + const u16 port) +{ + return tmy_network_entry(is_ipv6, TMY_NETWORK_ACL_TCP_ACCEPT, + (const u32 *) address, ntohs(port)); +} + +/** + * tmy_network_recvmsg_acl - check permission for recvms

[TOMOYO #5 12/18] Namespace manipulation control functions.

2007-11-16 Thread penguin-kernel
error = 0; + } + + tmy_free(old_root); + tmy_free(new_root); + return error; +} + +/** + * tmy_add_pivot_root_policy - add or delete pivot_root policy. + * @data: a line to parse. + * @is_delete: is this delete request? + * + * Returns zero on success. + * Returns

[TOMOYO #5 18/18] LSM expansion for TOMOYO Linux.

2007-11-16 Thread penguin-kernel
gt; include/linux/security.h | 74 +++ kernel/signal.c | 17 ++ net/core/datagram.c | 22 + net/socket.c |7 +++- security/dummy.c | 32 ++-- security/security.c

[TOMOYO #5 14/18] Capability access control functions.

2007-11-16 Thread penguin-kernel
licy. + * @data: a line to parse. + * @domain:pointer to "struct domain_info". + * @cond: pointer to "struct condition_list". May be NULL. + * @is_delete: is this delete request? + * + * Returns zero on success. + * Returns nonzero on failure. + */ +int tmy_add_capability_policy(char *data, struct domain_info *domain, + const struct condition_list *cond, + const bool is_delete) +{ + unsigned int capability; + for (capability = 0; capability < TMY_MAX_CAPABILITY_INDEX; +capability++) { + if (strcmp(data, capability_control_array[capability].keyword)) + continue; + return tmy_add_capability_acl(capability, domain, + cond, is_delete); + } + return -EINVAL; +} -- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[TOMOYO #5 15/18] LSM adapter functions.

2007-11-16 Thread penguin-kernel
if (S_ISREG(file->f_path.dentry->d_inode->i_mode)) + return 0; + } + return tmy_capable(TMY_SYS_IOCTL); +} + +static int tmy_socket_listen(struct socket *sock, int backlog) +{ + char addr[MAX_SOCK_ADDR]; + int addr_len; + int err

[TOMOYO #5 05/18] Memory and pathname management functions.

2007-11-16 Thread penguin-kernel
uct list_head *v; + struct cache_entry *entry = NULL; + if (!p) + return; + + /* CRITICAL SECTION START */ + spin_lock(_list_lock); + list_for_each_prev(v, _list) { + entry = list_entry(v, struct cache_entry, list); + if (entry->ptr !=

increased number of cycles

2007-11-17 Thread kernel coder
part of kernel . But for last 4 days the consumed cycles have suddenly increased to around 35 cycles . I'm using RDTSC instruction to profile the code.There is no change in code and the kernel version is also the same .I am assuming that there must be something wrong with hardware. Please guide

[PATCH v4] xfs: introduce object readahead to log recovery

2013-08-14 Thread zwu . kernel
it(_list, _list); + } + + if (!list_empty(_list)) + list_splice_init(_list, >r_itemq); + xlog_recover_free_trans(trans); -out: error2 = xfs_buf_delwri_submit(_list); return error ? error : error2; } -- 1.7.11.7 -- To unsubscribe from this list: send the l

Re: bcache: Fix a writeback performance regression

2013-08-27 Thread kernel neophyte
Hi Kent, I am still seeing deadlock: [ 930.169234] bcache: bch_cached_dev_attach() Caching sda3 as bcache0 on set 06496904-10ca-489a-ae75-68c6a07d3db1 [ 2522.956188] INFO: task bcache_writebac:2058 blocked for more than 120 seconds. [ 2522.956199] "echo 0 > /proc/sy

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Tue, Aug 27, 2013 at 11:05 PM, Kent Overstreet wrote: > On Tue, Aug 27, 2013 at 08:37:54PM -0700, kernel neophyte wrote: >> Hi Kent, >> >> I am still seeing deadlock: > > Seeing blk_throtl_bio (what asshole misspells words in their function > names, so when yo

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Wed, Aug 28, 2013 at 11:38 AM, Stefan Priebe - Profihost AG wrote: > I don't had one for a few days. Which kernel so you use? 3.10 kernel with all of kent's stable patches and perf patches.. and all defaults except for: echo writeback > /sys/block/bcache0/bcache/cache_mode echo 0

Re: bcache: Fix a writeback performance regression

2013-08-28 Thread kernel neophyte
On Wed, Aug 28, 2013 at 12:20 PM, Stefan Priebe wrote: > Am 28.08.2013 20:47, schrieb kernel neophyte: > >> On Wed, Aug 28, 2013 at 11:38 AM, Stefan Priebe - Profihost AG >> wrote: >>> >>> I don't had one for a few days. Which kernel so you use? >> &

Possible Bcache Bug

2013-08-28 Thread kernel neophyte
from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

Bcache sleeps forever on random writes

2013-08-29 Thread kernel neophyte
-ebf39840191d [ 4442.163661] INFO: task kworker/0:0:4 blocked for more than 120 seconds. [ 4442.163671] "echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 4442.163678] kworker/0:0 D 81813d40 0 4 2 0x [ 4442.163695] Work

Re: Bcache sleeps forever on random writes

2013-08-29 Thread kernel neophyte
;echo 0 > /proc/sys/kernel/hung_task_timeout_secs" disables this message. [ 3243.200043] bcache_allocato D 0001 0 1868 2 0x [ 3243.200048] 882f89f7fd88 0046 882f89f7fda8 810808ad [ 3243.200053] 882fa3328000 882f89f7ffd8 fff

[PATCH V2] x86/PCI: MMCONFIG: cleanup and add address warning to pci_mmconfig_insert

2013-07-27 Thread ethan . kernel
return -EEXIST; } - if (!addr) { - mutex_unlock(_mmcfg_lock); - return -EINVAL; - } - rc = -EBUSY; cfg = pci_mmconfig_alloc(seg, start, end, addr); if (cfg == NULL) { -- 1.7.1 -- To unsubscribe from this list: send the

[PATCH V3]hrtimer: Fix a performance regression by disable reprogramming in remove_hrtimer

2013-07-27 Thread ethan . kernel
e test kernel a few minutes, execute $time ./pipe-test-1m collect data output by time like: real0m9.326s user0m0.352s sys 0m5.640s 3.after the test case finished a few seconds, redo the same one. d. Test result data Test kernel without patch 968320b hrtimer: Fix extra wakeup

[PATCH v2] xfs: introduce object readahead to log recovery

2013-07-30 Thread zwu . kernel
over { #defineXLOG_RECOVER_PASS1 1 #defineXLOG_RECOVER_PASS2 2 +#define XLOG_RECOVER_MAX_QDEPTH 100 + #endif /* __XFS_LOG_RECOVER_H__ */ -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v3] xfs: introduce object readahead to log recovery

2013-07-31 Thread zwu . kernel
it(_list, _list); + } + + if (!list_empty(_list)) + list_splice_init(_list, >r_itemq); + xlog_recover_free_trans(trans); out: -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH] xfs: introduce object readahead to log recovery

2013-07-25 Thread zwu . kernel
error = xlog_recover_commit_pass2(log, trans, - _list, item); + _list, item, next_item); break; default: ASSERT(0); -- 1.7.11.7 -- To unsubscribe from this list:

[PATCH] xfs: fix an assertion failure

2013-07-25 Thread zwu . kernel
item [ 500.464036] XFS: Assertion failed: !(bip->bli_item.li_flags & XFS_LI_IN_AIL), file: fs/xfs/xfs_buf_item.c, line: 942 [ 500.465602] [ cut here ] [ 500.466258] kernel BUG at fs/xfs/xfs_message.c:108! [ 500.466440] invalid opcode: [#1] SMP [ 500.466440]

[PATCH v3 net-next] xfrm: Add check to prevent un-complete key manager

2013-11-10 Thread baker . kernel
From: Baker Zhang "acquire" and "compile_policy" callbacks are necessary for a key manager. Signed-off-by: Baker Zhang --- Thanks for all reply. V1: For current kernel source, there is no problem. In our vpn product, we need a xfrm_km in kernel module to monitor the xfr

Клиентскиe базы Email:tsemnolutskytsemnol...@gmail.com skype: rwer.wqerq ICQ: 446444644 Собeрeм для Вac koнтakты тoльko Baших потенциальныx клиентов нecкoльko дecятkoв тысяч мeнee чeм за сутkи

2013-12-14 Thread linux-kernel
Клиентскиe базы Email:tsemnolutskytsemnol...@gmail.com skype: rwer.wqerq ICQ: 446444644 Собeрeм для Вac koнтakты тoльko Baших потенциальныx клиентов нecкoльko дecятkoв тысяч мeнee чeм за сутkи -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of

[PATCH 1/2] btrfs: Cleanup some redundant codes in btrfs_lookup_csums_range()

2013-03-18 Thread zwu . kernel
nsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH 2/2] btrfs: Cleanup some redundant codes in btrfs_log_inode()

2013-03-18 Thread zwu . kernel
ubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 00/12] VFS hot tracking

2013-05-13 Thread zwu . kernel
kernel dev git on github: git://github.com/wuzhy/kernel.git hot_tracking If you're interested, you can also review them via https://github.com/wuzhy/kernel/commits/hot_tracking For how to use and more other info and performance report, please check hot_tracking.txt in Documentation

[PATCH v2 01/12] VFS hot tracking: introduce some data structures

2013-05-13 Thread zwu . kernel
hift(u64 counter, u32 bits, bool dir) +{ + if (dir) + return counter << bits; + else + return counter >> bits; +} + +#endif /* __KERNEL__ */ + +#endif /* _LINUX_HOTTRACK_H */ -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscri

[PATCH v2 02/12] VFS hot tracking: add i/o freq tracking hooks

2013-05-13 Thread zwu . kernel
9,6 +19,7 @@ #include #include #include +#include /* * Initialise a struct file's readahead state. Assumes that the caller has @@ -115,6 +116,11 @@ static int read_pages(struct address_space *mapping, struct file *filp, unsigned page_idx; int ret; + /* Hot data tracking */ + hot_up

[PATCH v2 03/12] VFS hot tracking: add one workqueue to update hot map

2013-05-13 Thread zwu . kernel
access frequency */ @@ -88,6 +90,8 @@ struct hot_info { spinlock_t t_lock; /* protect above tree */ struct list_head hot_map[MAX_TYPES][MAP_SIZE]; /* map of inode temp */ spinlock_t m_lock; + struct workqueue_struct *update_wq; + struct

[PATCH v2 05/12] VFS hot tracking, rcu: introduce one rcu macro for list

2013-05-13 Thread zwu . kernel
rom this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

[PATCH v2 06/12] VFS hot tracking, seq_file: introduce one set of rcu seq_list interfaces

2013-05-13 Thread zwu . kernel
pos); +extern struct list_head *seq_list_next_rcu(void *v, struct list_head *head, + loff_t *ppos); + /* * Helpers for iteration over hlist_head-s in seq_files */ -- 1.7.11.7 -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body

[PATCH v2 07/12] VFS hot tracking: add debugfs support

2013-05-13 Thread zwu . kernel
From: Zhi Yong Wu Add a directory '' in /sys/kernel/debug/hot_track/ for each volume that contains four files which are 'inode_stat', 'extent_stat', 'inode_spot', and 'extent_spot'. Signed-off-by: Chandra Seetharaman Signed-off-by: Zhi Yong Wu --- fs/hot_tracking.c| 455

<    1   2   3   4   5   6   7   8   9   10   >