freebsd-skq/sys
bz 830ad96079 Fold multiple asm statements into one so that the compiler at a certain
optimization level (-march=pentium-mmx for example) does not insert
intermediate ops which would trash the carry.

Change both sys/i386/i386/in_cksum.c[1] and sys/i386/include/in_cksum.h.

To my best understanding the same problem was addressed in rev. 1.16
of src/sys/i386/include/in_cksum.h for just a single function 3y ago.

Reviewed by:  jhb
Submitted by: Zhouyi ZHOU <zhouzhouyi FreeBSD.org> (intial version of [1])
MFC after:    5 days
PR:           115678, 69257
2007-10-20 22:18:42 +00:00
..
amd64 Switch over to ULE as the default scheduler for amd64 and i386 2007-10-19 12:30:33 +00:00
arm correct guard variable names. 2007-10-18 05:43:44 +00:00
boot Optimize for size on pc98. It enables to boot a kernel again. 2007-10-15 14:20:24 +00:00
bsm Merge OpenBSM 1.0 alpha 15 changes to src/sys/bsm: 2007-07-22 12:28:13 +00:00
cam Add a bunch of definitions and structures to support newer drivers. 2007-10-12 22:11:22 +00:00
cddl ZFS_LOG adds a newline by itself. 2007-10-14 16:14:32 +00:00
compat Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
conf Backout sensors framework. 2007-10-15 20:00:24 +00:00
contrib Pullup IPFilter 4.1.28 from the vendor branch into HEAD. 2007-10-18 21:52:14 +00:00
crypto Commit the change from FAST_IPSEC to IPSEC. The FAST_IPSEC 2007-07-03 12:13:45 +00:00
ddb Print the stack bounds of the thread. 2007-10-16 17:52:59 +00:00
dev fix an incorrect setting of `retry times' in case of zd1211b, we 2007-10-19 16:33:31 +00:00
fs Implement the async (really, delayed-write) mount option for msdosfs. 2007-10-19 12:23:25 +00:00
gdb Add kdb_cpu_sync_icache(), intended to synchronize instruction 2007-06-09 21:55:17 +00:00
geom When orphaning a provider, cancel events related to it. 2007-09-27 20:18:34 +00:00
gnu Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
i4b Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
i386 Fold multiple asm statements into one so that the compiler at a certain 2007-10-20 22:18:42 +00:00
ia64 Set PTE_ACCESSED in the PTE and before inserting it in the VHPT. 2007-10-16 03:20:32 +00:00
isa It seems that some i386 mothermoards either do not implement the 2007-07-27 09:34:42 +00:00
kern Put comments about syscalls by the correct ones, and use the correct syscall 2007-10-19 19:17:53 +00:00
libkern Do not use __XSCALE__ to detect if clz is available, use _ARM_ARCH_5 instead. 2007-10-13 12:05:36 +00:00
modules Add Winchiphead (or Nanjin QinHeng Electronics) USB Serial converter driver. 2007-10-18 10:51:06 +00:00
net Use ETHER_BPF_MTAP so that the vlan tags are visible to bpf(4) when stacked 2007-10-20 02:43:23 +00:00
net80211 invalidate ic_prevchan when constructing a new channel list 2007-09-18 21:54:27 +00:00
netatalk Mark wire data structures in netatalk as __packed so that they are 2007-06-28 12:54:58 +00:00
netatm Disconnect netatm from the build as it is not MPSAFE and relies on 2007-07-14 21:49:24 +00:00
netgraph Fix build with NETGRAPH_DEBUG. 2007-10-19 20:09:58 +00:00
netinet Remove IPTOS_CE and IPTOS_ECT constants. They were defined in RFC 2481 2007-10-19 12:46:15 +00:00
netinet6 - Incorrect error EAGAIN returned for invalid send on a locked 2007-09-13 10:36:43 +00:00
netipsec Fix for an infinite loop in processing ESP, IPv6 packets. 2007-09-12 05:54:53 +00:00
netipx Make tcpstates[] static, and make sure TCPSTATES is defined before 2007-07-30 11:06:42 +00:00
netnatm s/destory/destroy/ (except for the code in contrib/). 2007-04-16 12:31:35 +00:00
netncp Commit 14/14 of sched_lock decomposition. 2007-06-05 00:00:57 +00:00
netsmb Fixing the mount_smbfs(8) hanging by utilising the destroy_dev_sched() KPI. 2007-07-10 09:23:10 +00:00
nfs
nfs4client Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
nfsclient Add a -z flag to nfsstat which zeros the NFS statistics after displaying 2007-10-18 16:38:07 +00:00
nfsserver Add a -z flag to nfsstat which zeros the NFS statistics after displaying 2007-10-18 16:38:07 +00:00
opencrypto Deny attempt to malloc unbounded amount of the memory. 2007-10-08 20:08:34 +00:00
pc98 Spelling fix for interupt -> interrupt 2007-10-12 06:03:46 +00:00
pccard
pci Oops, convert a tsleep() to a msleep() that was missed when adding locking 2007-10-15 16:18:20 +00:00
powerpc Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
rpc Remove the now-unused NET_{LOCK,UNLOCK,ASSERT}_GIANT() macros, which 2007-08-06 14:26:03 +00:00
security - Change the wakeup logic associated with having multiple sleepers 2007-10-12 15:09:02 +00:00
sparc64 - Fix the handling of R_SPARC_OLO10, which is a bit of a special case 2007-10-16 19:17:48 +00:00
sun4v Make the PCI code aware of PCI domains (aka PCI segments) so we can 2007-09-30 11:05:18 +00:00
sys Remove redundant prototypes. 2007-10-20 09:41:55 +00:00
tools Catch up with ACPI-CA 20070320 import. 2007-03-22 18:16:43 +00:00
ufs Get rid of qaddr_t. 2007-10-16 10:54:55 +00:00
vm The previous revision, updating vm_object_page_remove() for the new page 2007-10-18 23:02:18 +00:00
Makefile Complete repo-copy and move of Coda from src/sys/coda to src/sys/fs/coda 2007-07-12 21:04:58 +00:00