[RFC] Best method to control a "transmit-only" mode on fiber NICs (specifically sky2)

2008-02-15 Thread Kyle Moffett
one related bug-fix^Wdirty hack for sky2 to reset the PHY a second time during netif-up after enabling interrupts; otherwise the immediate "link up" interrupt gets lost. Once I get approval from the company I will patch the post itself for review. I look forward to your comments and su

[NET/IPv6] Race condition with flow_cache_genid?

2008-02-06 Thread Kyle Moffett
rm_policy_lock); } void selinux_xfrm_notify_policyload_post(void) { write_lock_bh(&xfrm_policy_lock); flow_cache_ignore = 0; write_unlock_bh(&xfrm_policy_lock); } Cheers, Kyle Moffett BEGIN QUOTED CODE INVOLVING flow_cache_genid: include/net/flow.h:94: extern atomic_t flow_cache_genid;

Re: [PATCH 1/2] bnx2: factor out gzip unpacker

2007-09-24 Thread Kyle Moffett
nd an initramfs into memory. Kernel is stock Debian and hardly has enough built-in to spit at you, let alone find network/ disks, but it manages to load everything it needs off the automagically-generated initramfs. Cheers, Kyle Moffett - To unsubscribe from this list: send the line "un

Re: Distributed storage. Move away from char device ioctls.

2007-09-16 Thread Kyle Moffett
t. Most likely there will be some major flaw which makes it impossible to produce reliably, but the concept contains the things I would be interested in for a real "networked filesystem". Cheers, Kyle Moffett - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-09-10 Thread Kyle Moffett
)). So far the only code samples anybody has posted are buggy regardless of whether or not the value and/or accessors are flagged "volatile" or not. And hey, maybe the volatile ops *should* be implemented in inline ASM for future- proof-ness, but that's a separate issue. Cheers, K

Re: [PATCH 0/24] make atomic_read() behave consistently across all architectures

2007-09-10 Thread Kyle Moffett
s-access-memory" guarantees. If you are just interested in it as an optimization you could probably just read the properly-aligned integer counter directly, an atomic read on most CPUs. If you really need it to hit main memory *every* *single* *time* (Why? Are you using it instead of the pr

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-25 Thread Kyle Moffett
latency has to do with a kernel_thread to kthread conversion. Or with signals, for that matter. Anyway, as Kyle Moffett mentioned elsewhere, you could probably look at other examples (say cifs_demultiplexer_thread() in fs/cifs/connect.c). the basic problem, and what we use signals for, is: i

Re: [DRIVER SUBMISSION] DRBD wants to go mainline

2007-07-23 Thread Kyle Moffett
2007 at 09:32:02PM -0400, Kyle Moffett wrote: +/* I don't remember why XCPU ... + * This is used to wake the asender, + * and to interrupt sending the sending task + * on disconnect. + */ +#define DRBD_SIG SIGXCPU Don't use signals between kernel threads, use proper primitives like notifi

Re: PM policy, hotplug, power saving (was Re: [PATCH] b44: power down PHY when interface down)

2007-06-30 Thread Kyle Moffett
now if any such devices exist. Currently the tg3 driver turns the PHY off and on during down/ up on a few of my systems, which I use to make a buggy no-name switch recognize STP changes properly. Cheers, Kyle Moffett - To unsubscribe from this list: send the line "unsubscribe netdev&qu

Re: Scaling Max IP address limitation

2007-06-24 Thread Kyle Moffett
On Jun 24, 2007, at 15:58:54, Jan Engelhardt wrote: On Jun 24 2007 15:08, Kyle Moffett wrote: Do you really need that many IP addresses? When somebody finally gets around to implementing REDIRECT support for ip6tables then you could just redirect them all to the same port on the local

Re: Scaling Max IP address limitation

2007-06-24 Thread Kyle Moffett
have today which a mechanism like this wouldn't support, aside from the fact that it hands the admin a loaded nuclear missile aimed at their foot (Flushing the INPUT chain would basically be analogous to committing network suicide, although there exist other ways to do that with netf

Re: [BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel

2007-05-12 Thread Kyle Moffett
On May 11, 2007, at 01:49:27, Kyle Moffett wrote: On May 10, 2007, at 00:34:11, Kyle Moffett wrote: On May 10, 2007, at 00:25:54, Ben Greear wrote: Looks like a deadlock in the vlan code. Any chance you can run this test with lockdep enabled? You could also add a printk in

Re: [BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel

2007-05-10 Thread Kyle Moffett
On May 10, 2007, at 00:34:11, Kyle Moffett wrote: On May 10, 2007, at 00:25:54, Ben Greear wrote: Looks like a deadlock in the vlan code. Any chance you can run this test with lockdep enabled? You could also add a printk in vlan_device_event() to check which event it is hanging on, and

Re: [BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel

2007-05-09 Thread Kyle Moffett
On May 10, 2007, at 00:25:54, Ben Greear wrote: Kyle Moffett wrote: vconfig D 83CCD8CE 0 16564 16562 (NOTLB) efdd7e7c 0086 ee120afb 83ccd8ce 98f00788 b7083ffa 5384b49a c76c0b05 9ebaf791 0004 efdd7e4e 0007 f1468a90 2ab74174 0362

[BUG][debian-2.6.20-1-686] bridging + vlans + "vconfig rem" == stuck kernel

2007-05-09 Thread Kyle Moffett
d4 [] sys_socketcall+0x15e/0x242 [] syscall_call+0x7/0xb The "zz-km-vlan" script is the bash if-post-down.d script in charge of disassembling VLAN interfaces. There is an equivalent "zz-km- bridge" script for bridge interfaces, as well as if-pre-up.d scripts called "00-

Re: [PATCH 0/5] [RFC] AF_RXRPC socket family implementation [try #2]

2007-03-17 Thread Kyle Moffett
#x27;s at least 3; there is shared connection state and security context on both sides which pertains to a collection of independent and possibly simultaneous RxRPC calls. From the digging around that I did in the kernel socket code a while ago I don't see a cleaner way of implementin

Re: [2.6 patch] the scheduled removal of the frame diverter

2006-11-13 Thread Kyle Moffett
e diverter as well. I agree that this should go. Cheers, Kyle Moffett - To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html

Re: wireless: recap of current issues (configuration)

2006-01-17 Thread Kyle Moffett
re APs, union/intersect the APs with the configured regdomain, ignore the configured regdomain in the presence of APs, etc. Cheers, Kyle Moffett -- I lost interest in "blade servers" when I found they didn't throw knives at people who weren't supposed to be in your machine room.

Re: [RFC] Fine-grained memory priorities and PI

2005-12-15 Thread Kyle Moffett
ated pages have priorities and lossless/lossy free functions, then the kernel can be much more flexible and configurable about what to do when running low on RAM. Cheers, Kyle Moffett -- I lost interest in "blade servers" when I found they didn't throw knives at people who

Re: [RFC] Fine-grained memory priorities and PI

2005-12-15 Thread Kyle Moffett
l before failing them for the swap-fallback tool would help the original poster, and I imagine various tweaked priorities would make true OOM-deadlock far less likely. Cheers, Kyle Moffett -- When you go into court you either want a very, very, very bright line or you want the stomach

[RFC] Fine-grained memory priorities and PI

2005-12-15 Thread Kyle Moffett
e pages unfaulted. Questions? Comments? "This is a terrible idea that should never have seen the light of day"? Both constructive and destructive criticism welcomed! (Just please keep the language clean! :-D) Cheers, Kyle Moffett -- Q: Why do programmers confuse Halloween and Chris

Re: Broadcom 43xx first results

2005-12-06 Thread Kyle Moffett
y may be), and we always have a working wireless stack. With the rewrite/replace solution, you end up broken or unstable half the time. Cheers, Kyle Moffett -- Simple things should be simple and complex things should be possible -- Alan Kay - To unsubscribe from this list: send the lin

[RFC][PATCH] Fix up struct sockaddr_in definition

2005-07-27 Thread Kyle Moffett
Hi, I would like to propose a cleanup for struct sockaddr_in that I think will make the code much more obvious and remove some icky padding math: sockaddr_in-cleanup.patch Description: Binary data Thanks for all your input! Cheers, Kyle Moffett -- There are two ways of constructing a

Re: [PATCH] setsockopt locking fix

2005-07-27 Thread Kyle Moffett
d is below. Patch is against a _very_ recent linus GIT repository, and after mailing it to myself, it still applies to a fresh repository here, so I'm assuming it's ok: setsockopt-locking-fix.patch Description: Binary data Cheers, Kyle Moffett -- I lost interest in "blade servers&

[PATCH] setsockopt locking fix

2005-07-27 Thread Kyle Moffett
# HG changeset patch # User Kyle Moffett <[EMAIL PROTECTED]> # Node ID 77475acbe89242e63e6fd73dc66fe52643011ed7 # Parent 43cd2abd0f4c5d2e8ee4666d6bf1f0b96e252e54 Fix a bug where sock_reset_flag() was called without lock_sock() diff -r 43cd2abd0f4c -r 77475acbe892 net/core/sock.c --- a/ne