summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2007-11-10For single-processor kernels, only match the CPU we're running on.Mark Kettenis
2007-11-09Be more careful when handling ipis:Miod Vallat
- only process the pending ipis once per external interrupt, at the beginning. - use the ipl we were at when the interrupt occured, not the ipl at which we enabled interrupts again, in order to decide whether we can run hardclock or statclock.
2007-11-09In dma_cachectl*(), try and perform fewer remote processor operations wheneverMiod Vallat
possible.
2007-11-09Do not bother checking for curproc != NULL if we know a trap comes fromMiod Vallat
usermode, since curproc can not be NULL outside the kernel.
2007-11-09Allow -c in conjunction with -d (and -u).Matthias Kilian
If field skipping is active, don't skip beyond the last non-blank of a field, and use isblank() instead of isspace() -- POSIX states that the longest string matching [[:blank:]]*[^[:blank:]]* makes up a field. Don't skip over trailing newlines. Help, testing and ok millert@
2007-11-09Stash value of log_tag before calling closelog_r() and restore it after.Todd C. Miller
When closelog() was modified to clear log_tag it inadvertantly made syslog_r() (which calls closelog_r at the end) clear log_tag as well. OK miod@ dhartmei@
2007-11-09Build and advertize bsd.mp on mvme88k.Miod Vallat
2007-11-09SMP systems should no longer considered as unsupported.Miod Vallat
2007-11-09Missing PHONY target.Miod Vallat
2007-11-09Wrong logic in ubt_xmit_acl_start(); reported by Dmitry KomissaroffMiod Vallat
(dxi, mail dot ru), thanks!
2007-11-09IPL_xxx values on hp300 are logical values (although some of them happen toMiod Vallat
match the real hardware level used for them). So instead of keeping a few loose variables to store the runtime computed psr bits to use for the logical IPL levels, just keep a complete array of all psr values. Thus we can have a correct splassert_check().
2007-11-09Get rid of IPL_TTYNOBUF, it was handled exactly like IPL_TTY for years.Miod Vallat
2007-11-09Move splassert_check() from common m68k code to each m68k-based architecture,Miod Vallat
as its implementation may vary accross platforms (and will very soon).
2007-11-09Fix PSLTOIPL and IPLTOPSL to only use three bits of interrupt mask.Miod Vallat
2007-11-09On MULTIPROCESSOR kernels, don't forget to grab the kernel lock whenMiod Vallat
processing soft interrupts; and there was much rejoicing.
2007-11-09Parse CVSROOT/config and set umask on server-side, too.Tobias Stoeckmann
2007-11-09Fix for a rather unintuitive behaviour, this way it can be reproduced:Tobias Stoeckmann
cvs checkout src/sbin/swapon cvs checkout -rHEAD src/sbin/swapon If no date or revision has been supplied, swapon.8 won't be checked out, but if a revision (even if it is HEAD) or a date (-D) has been supplied, swapon.8 will be checked out due to modifications in Attic/ after it has been removed from tree.
2007-11-09Call prom_set_trap_table for secondary CPUs too.Mark Kettenis
2007-11-09Use the interrupt stack as the initial stack for spinning up secondary CPUs.Mark Kettenis
Inspired by a change in NetBSD pointed out by miod@.
2007-11-09An umask is octet not decimal. This means we cannot use strtonum() toTobias Stoeckmann
parse it due to base 10. Instead strtol() with base 8 must be used.
2007-11-09when "max <number>" is exceeded, packets are not dropped - rather theyJason McIntyre
fail to match; from Doichin Dokov diff from henning and myself
2007-11-09FFS_SOFTUPDATES:Jason McIntyre
- no need to document needing a config option when it is already enabled by default in GENERIC - move to format similar to "async" - grammar tweak whilst here agreed by miod (i think) ok millert
2007-11-09talk about "vlan-tag" consistently; from Tero KoskinenJason McIntyre
2007-11-09Make disklabel aware of NTFS.Joel Sing
ok miod@ krw@
2007-11-09Code to read in the cylinder groups is duplicated in a few spots,Thordur I. Bjornsson
factor it into a new function, ffs_cgread(); and use that. From mickey; OK art@, toby@
2007-11-09Add Exar UARTs XR17C152, XR17C154 and XR17C158.Federico G. Schwindt
From Daniel Neri (daniel dot neri at sigicom dot se) via PR/5618.
2007-11-09regen.Federico G. Schwindt
2007-11-09Add Exar UARTs XR17C152, XR17C154 and XR17C158.Federico G. Schwindt
From Daniel Neri (daniel dot neri at sigicom dot se) via PR/5618.
2007-11-08Pass correct pointers to memcpy when concatanating strings/buffersCan Erkin Acar
ok weingart@, marco@
2007-11-08Stick at GNU cvs output format of docdate.Tobias Stoeckmann
OK niallo@
2007-11-08Return latest revision of default branch when HEAD is requested and noTobias Stoeckmann
newer revisions are available (for example multiple imports). Reported by ckuethe@, OK niallo@
2007-11-08convert the value to a string instead of using aml_val2str()Can Erkin Acar
which returns invalid pointers if the value is not a string, causing acpibat to panic, as reported by mbalmer@ and Alexey Suslikov. tested by Alexey Suslikov, ok marco@
2007-11-08Fix unsafe queue macro useBret Lambert
ok thib@ 'emphatic' ok beck@
2007-11-07more low hanging fruit; Expand the nfsm_srvwcc_data() macroThordur I. Bjornsson
and nuke it's definition. OK krw@, blamers@
2007-11-07Check for pfi_kif's that are neither groups nor have a real interface.Marco Pfatschbacher
This prevents a null-deref when empty groups are used in set loginterface. Fixes PR 5628 as reported by Andreas Bihlmaier. Bad mpf :( OK henning@
2007-11-07Fix potential heap overflow given a specially crafted regexp.Todd C. Miller
From Tavis Ormandy; adapted from fixes in the perl 5.9.x codebase.
2007-11-07Fix a comment.Marc Balmer
2007-11-07properly exit >0 when encountering bad md5 in cheklistCharles Longeau
ok gilles@ millert@ From Tim van der Molen <tbvdm.lists at xs4all.nl>
2007-11-07regenBrad Smith
2007-11-07rename the Intel 82452 hostbridge chipset entry.Brad Smith
ok oga@ dlg@
2007-11-07More SPLBIO around scsi_done.Kenneth R Westerback
2007-11-06Close a race where we might save/drop the fpu state of the wrong process inMark Kettenis
the ipi handlers.
2007-11-06ramdisks should have the same behaviour as GENERICTheo de Raadt
2007-11-06all ACPI_ENABLE kernels need acpi_interrupt()Theo de Raadt
2007-11-06a little tidy up of text;Jason McIntyre
2007-11-06Do not panic in arpintr() if IF_DEQUEUE returns NULL, this is perfectly legalMiod Vallat
and can happen on slow mp systems under a lot of network load; ok kettenis@
2007-11-06Keep a pending software interrupts mask per processor, instead of having itMiod Vallat
global; and only schedule software interrupts on the currently running cpu.
2007-11-06Comment out the pmap fine grained locking stuff, it is not necessary for nowMiod Vallat
because of the global lock. It will get enabled again when locking work progresses.
2007-11-06Be sure to pmap_deactivate() a process during context switches, so thatMiod Vallat
the cpu which runs it is accounted correctly in MP kernels.
2007-11-06Remove the now unused idle_u, and call the secondary processors startupMiod Vallat
stack a startup stack.