24 Mar, 2006
6 commits
-
Signed-off-by: Alexey Dobriyan
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Rewrap the overly long source code lines resulting from the previous
patch's addition of the slab cache flag SLAB_MEM_SPREAD. This patch
contains only formatting changes, and no function change.Signed-off-by: Paul Jackson
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Mark file system inode and similar slab caches subject to SLAB_MEM_SPREAD
memory spreading.If a slab cache is marked SLAB_MEM_SPREAD, then anytime that a task that's
in a cpuset with the 'memory_spread_slab' option enabled goes to allocate
from such a slab cache, the allocations are spread evenly over all the
memory nodes (task->mems_allowed) allowed to that task, instead of favoring
allocation on the node local to the current cpu.The following inode and similar caches are marked SLAB_MEM_SPREAD:
file cache
==== =====
fs/adfs/super.c adfs_inode_cache
fs/affs/super.c affs_inode_cache
fs/befs/linuxvfs.c befs_inode_cache
fs/bfs/inode.c bfs_inode_cache
fs/block_dev.c bdev_cache
fs/cifs/cifsfs.c cifs_inode_cache
fs/coda/inode.c coda_inode_cache
fs/dquot.c dquot
fs/efs/super.c efs_inode_cache
fs/ext2/super.c ext2_inode_cache
fs/ext2/xattr.c (fs/mbcache.c) ext2_xattr
fs/ext3/super.c ext3_inode_cache
fs/ext3/xattr.c (fs/mbcache.c) ext3_xattr
fs/fat/cache.c fat_cache
fs/fat/inode.c fat_inode_cache
fs/freevxfs/vxfs_super.c vxfs_inode
fs/hpfs/super.c hpfs_inode_cache
fs/isofs/inode.c isofs_inode_cache
fs/jffs/inode-v23.c jffs_fm
fs/jffs2/super.c jffs2_i
fs/jfs/super.c jfs_ip
fs/minix/inode.c minix_inode_cache
fs/ncpfs/inode.c ncp_inode_cache
fs/nfs/direct.c nfs_direct_cache
fs/nfs/inode.c nfs_inode_cache
fs/ntfs/super.c ntfs_big_inode_cache_name
fs/ntfs/super.c ntfs_inode_cache
fs/ocfs2/dlm/dlmfs.c dlmfs_inode_cache
fs/ocfs2/super.c ocfs2_inode_cache
fs/proc/inode.c proc_inode_cache
fs/qnx4/inode.c qnx4_inode_cache
fs/reiserfs/super.c reiser_inode_cache
fs/romfs/inode.c romfs_inode_cache
fs/smbfs/inode.c smb_inode_cache
fs/sysv/inode.c sysv_inode_cache
fs/udf/super.c udf_inode_cache
fs/ufs/super.c ufs_inode_cache
net/socket.c sock_inode_cache
net/sunrpc/rpc_pipe.c rpc_inode_cacheThe choice of which slab caches to so mark was quite simple. I marked
those already marked SLAB_RECLAIM_ACCOUNT, except for fs/xfs, dentry_cache,
inode_cache, and buffer_head, which were marked in a previous patch. Even
though SLAB_RECLAIM_ACCOUNT is for a different purpose, it marks the same
potentially large file system i/o related slab caches as we need for memory
spreading.Given that the rule now becomes "wherever you would have used a
SLAB_RECLAIM_ACCOUNT slab cache flag before (usually the inode cache), use
the SLAB_MEM_SPREAD flag too", this should be easy enough to maintain.
Future file system writers will just copy one of the existing file system
slab cache setups and tend to get it right without thinking.Signed-off-by: Paul Jackson
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/netdev-2.6: (45 commits)
[PATCH] Restore channel setting after scan.
[PATCH] hostap: Fix memory leak on PCI probe error path
[PATCH] hostap: Remove dead code (duplicated idx != 0)
[PATCH] hostap: Fix unlikely read overrun in CIS parsing
[PATCH] hostap: Fix double free in prism2_config() error path
[PATCH] hostap: Fix ap_add_sta() return value verification
[PATCH] hostap: Fix hw reset after CMDCODE_ACCESS_WRITE timeout
[PATCH] wireless/airo: cache wireless scans
[PATCH] wireless/airo: define default MTU
[PATCH] wireless/airo: clean up printk usage to print device name
[PATCH] WE-20 for kernel 2.6.16
[PATCH] softmac: remove function_enter()
[PATCH] skge: version 1.5
[PATCH] skge: compute available ring buffers
[PATCH] skge: dont free skb until multi-part transmit complete
[PATCH] skge: multicast statistics fix
[PATCH] skge: rx_reuse called twice
[PATCH] skge: dont use dev_alloc_skb for rx buffs
[PATCH] skge: align receive buffers
[PATCH] sky2: dont need to use dev_kfree_skb_any
... -
After a scan, we weren't switching back to the original channel if we
were associated with an AP. So NetworkManager's periodic scans would
disrupt connectivity until the ESSID was manually set again. Fix that.Signed-off-by: David Woodhouse
Signed-off-by: John W. Linville
23 Mar, 2006
34 commits
-
This is version 20 of the Wireless Extensions. This is the
completion of the RtNetlink work I started early 2004, it enables the
full Wireless Extension API over RtNetlink.Few comments on the patch :
o totally driver transparent, no change in drivers needed.
o iwevent were already RtNetlink based since they were created
(around 2.5.7). This adds all the regular SET and GET requests over
RtNetlink, using the exact same mechanism and data format as iwevents.
o This is a Kconfig option, as currently most people have no
need for it. Surprisingly, patch is actually small and well
encapsulated.
o Tested on SMP, attention as been paid to make it 64 bits clean.
o Code do probably too many checks and could be further
optimised, but better safe than sorry.
o RtNetlink based version of the Wireless Tools available on
my web page for people inclined to try out this stuff.I would also like to thank Alexey Kuznetsov for his helpful
suggestions to make this patch better.Signed-off-by: Jean Tourrilhes
Signed-off-by: John W. Linville -
Remove the function_enter() debugging macros.
Signed-off-by: John W. Linville
-
The sk argument to ip6_xmit is never NULL nowadays since the skb->priority
assigment expects a valid socket.Coverity #354
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
In both cases n can't be NULL without crashing anyway.
Coverity #78
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
To really make sense of route notifications in the presence of
multiple tables, userspace also needs to be notified about routing
rule updates. Notifications are sent to the so far unused
RTNLGRP_NOP1 (now RTNLGRP_RULE) group.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Signed-off-by: Steven Whitehouse
Signed-off-by: Robert Olsson
Signed-off-by: David S. Miller -
Softmac scanning fails because the stop flag is not cleared before
scanning is started. The attached one-line patch fixes this.Signed-Off-By: Larry Finger
Signed-off-by: John W. Linville -
This patch removes ieee80211softmac_reassoc which is neither implemented
nor used nor necessary.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville -
This patch adds handling of reassociation to softmac when the AP
requests it. Patch from Larry Finger.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville -
Recently the deauth packet handler was updated to use a deauth packet
struct (identical to the auth packet struct) and this now gives a
warning. This patch updates the code to properly use a deauth struct and
deauth variable.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville -
This patch removes a blank line that shouldn't be there and fixes a
spelling error in softmac.Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville -
This patch updates the copyright statements in softmac that I
erroneously added for 2005 only (when we already had 2006).Signed-off-by: Johannes Berg
Signed-off-by: John W. Linville -
Version 2 of the patch. Added checks for version 0
and proper from/to DS bits. Even in promisc
mode we won't receive packets from another BSSes.bcm43xx_rx() contains code to filter out packets from
foreign BSSes and decide whether to call ieee80211_rx
or ieee80211_rx_mgt. This is not bcm specific.Patch adapts that code and adds it to 80211
as ieee80211_rx_any() function.Signed-off-by: Denis Vlasenko
Signed-off-by: John W. Linville -
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
add copyright and license headers to all softmac files
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Properly check return value of ieee80211softmac_alloc_mgt
in ieee80211softmac_disassoc_deauth (patch by Denis Vlasenko)Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
TODO: add callbacks for ifup/ifdown (see mailing list)
Signed-off-by: John W. Linville
-
Convert softmac to use global workqueue instead of private one...
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
Signed-off-by: John W. Linville
-
The problem is in ip_push_pending_frames(), which uses:
if (!df) {
__ip_select_ident(iph, &rt->u.dst, 0);
} else {
iph->id = htons(inet->id++);
}instead of ip_select_ident().
Right now I think the code is a nonsense. Most likely, I copied it from
old ip_build_xmit(), where it was really special, we had to decide
whether to generate unique ID when generating the first (well, the last)
fragment.In ip_push_pending_frames() it does not make sense, it should use plain
ip_select_ident() instead.Signed-off-by: Alexey Kuznetsov
Signed-off-by: David S. Miller -
get_h225_addr is exported, but declared static, which fails when
linking statically.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
Fix missing inversion in address matching, it was broken during the
conversion to x_tables.Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller -
x_tables matches and targets that require nf_conntrack_ipv[4|6] to work
don't have enough information to load on demand these modules. This
patch introduces the following changes to solve this issue:o nf_ct_l3proto_try_module_get: try to load the layer 3 connection
tracker module and increases the refcount.
o nf_ct_l3proto_module put: drop the refcount of the module.Signed-off-by: Pablo Neira Ayuso
Signed-off-by: Patrick McHardy
Signed-off-by: David S. Miller