| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
section alignnment of 16 bytes for amd64 and this breaks file(1).
Before:
./cp: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \
FreeBSD 127.7.9, statically linked, stripped
after: ^^^^^^^
./ls: ELF 64-bit LSB executable, AMD x86-64, version 1 (FreeBSD), for \
FreeBSD 5.0.1, dynamically linked (uses shared libs), stripped
The reason for this is that the NOTE sections are not contiguous
internally. If the note section has an alignment of 16, then anything
that looks for the data is supposed to round up the payload start to
the next multiple of the alignment. But FreeBSD/amd64 broke because the
structure is declared as a single structure, not a (header,payload) group,
where the payload had an explicit alignment roundup.
The alternative is to change things like file(1) to ignore the ELF payload
alignment rules for the PT_NOTE section only for FreeBSD.
|
|
|
|
|
|
| |
Submitted by: Pavlin Radoslavov <pavlin@icir.org>
Reviewed by: hsu, bmah
MFC after: 2 weeks
|
|
|
|
|
|
| |
file rather than panicing with "indiracct: botched params".
Submitted by: Mark Santcroos <marks@ripe.net>
|
| |
|
|
|
|
|
|
|
|
| |
- use strlcpy() and snprintf()
- use err()
- style
Obtained from: KAME
|
|
|
|
|
|
|
|
| |
- rename variable
- use strlcpy
- const'fy
Obtained from: KAME
|
|
|
|
| |
Reviewed by: yar
|
|
|
|
|
|
|
| |
back to <sys/systm.h>.
2. Remove hard sentence breaks.
Reminded by: Stefan Farfeleder <stefan@fafoe.narf.at> (1)
|
|
|
|
|
| |
vm object's lock.
- Release the vm object and vm page queues locks around vput().
|
|
|
|
|
|
| |
a fair bit of difference to the power consumption and lets my cpu cool
down enough for the temperature sensitive fan controller to completely
stop the cpu fan at times.
|
|
|
|
|
|
| |
halt state that minimizes power consumption while still preserving
cache and TLB coherency. Halting the processor is not conditional at
this time. Tested with UP and SMP kernels.
|
|
|
|
| |
Reported by: kris
|
|
|
|
| |
Reported by: kris
|
|
|
|
| |
Reported by: Valentin Chopov <valentin@valcho.net>
|
| |
|
|
|
|
|
|
|
|
| |
address has been changed when PFIL_HOOKS is enabled and, if it has,
arrange for the proper action by ip*_forward.
Submitted by: Pyun YongHyeon
Supported by: FreeBSD Foundation
|
|
|
|
|
|
|
|
|
| |
Bluetooth protocol stack update.
Based on report by: emax
Modified release note:
s|challenge/|challenge/response| in SA-03:15 item.
|
|
|
|
|
|
|
|
| |
address has been changed when PFIL_HOOKS is enabled and, if it has,
arrange for the proper action by ip*_forward.
Supported by: FreeBSD Foundation
Submitted by: Pyun YongHyeon
|
|
|
|
|
|
|
| |
packets. This eliminates a LOR with Giant that caused outbound pipes
to fail.
Supported by: FreeBSD Foundation
|
|
|
|
|
|
| |
pointer in which case we should not do the unlock.
Supported by: FreeBSD Foundatin
|
|
|
|
|
|
|
| |
tx descriptor array
o while here fix a whitespace nit
Obtained from: NetBSD
|
|
|
|
| |
Suggested by: dwmalone
|
|
|
|
|
|
|
| |
end, as many of the code assumes that TAILQ_FIRST(ifp->if_addrlist)
is non-null.
Submitted by: itojun
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Xcpustop(). %es is used in at least the call to savectx() when savectx()
calls bcopy(), so not loading it was fatal if a stop IPI interrupts
user mode.
This reduces bugs starting and stopping CPUs for debuggers. CPUs are
stopped mainly in kdb_trap() and cpu_reset(). At reset time there is
a good chance that all the CPUs are in the kernel, so the bug was
probably harmless then.
|
|
|
|
|
| |
sched_switch if the thread is running, we want to fall through and pick
a new thread because we have been preempted.
|
| |
|
|
|
|
|
| |
struct driver. We were the last user of that field (and we are scheduled
for demolition) so there wasn't much point in keeping it.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
classes and if a method is not found in a given class, its base classes
are searched (in the order they were declared). This search is recursive,
i.e. a method may be define in a base class of a base class.
* Change the kobj method lookup algorithm to one which is SMP-safe. This
relies only on the constraint that an observer of a sequence of writes
of pointer-sized values will see exactly one of those values, not a
mixture of two or more values. This assumption holds for all processors
which FreeBSD supports.
* Add locking to kobj class initialisation.
* Add a simpler form of 'inheritance' for devclasses. Each devclass can
have a parent devclass. Searches for drivers continue up the chain of
devclasses until either a matching driver is found or a devclass is
reached which has no parent. This can allow, for instance, pci drivers
to match cardbus devices (assuming that cardbus declares pci as its
parent devclass).
* Increment __FreeBSD_version.
This preserves the driver API entirely except for one minor feature used
by the ISA compatibility shims. A workaround for ISA compatibility will
be committed separately. The kobj and newbus ABI has changed - all modules
must be recompiled.
|
|
|
|
|
| |
mi_switch() calls sched_switch() which calls cpu_switch(). This is
actually one less function call than it had been.
|
|
|
|
| |
argument rather than a kse.
|
|
|
|
|
|
|
|
|
|
| |
rounding errors. This was the source of the majority of the
interactivity problems. Reintroduce the old algorithm and its XXX.
- Up the interactivity threshold to 30. It really could stand to be even
a tiny bit higher.
- Let the sleep and run time accumulate up to 5 seconds of history rather
than two. This helps stop XFree86 from becoming non-interactive during
bursts of activity.
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
trashed after being freed. This has caused several panics including
kern/42277 related to soft updates. Jim Kuhn tracked the problem
down to ipfw limit rule processing. In the expiry of dynamic rules,
it is possible for an O_LIMIT_PARENT rule to be removed when it still
has live children. When the children eventually do expire, a pointer
to the (long gone) parent is dereferenced and a count decremented.
Since this memory can, and is, allocated for other purposes (in the
case of kern/42277 an inodedep structure), chaos ensues. The offset
in question in inodedep is the offset of the 16 bit count field in
the ipfw2 ipfw_dyn_rule.
Submitted by: Jim Kuhn <jkuhn@sandvine.com>
Reviewed by: "Evgueni V. Gavrilov" <aquatique@rusunix.org>
Reviewed by: Ben Pfountz <netprince@vt.edu>
MFC after: 1 week
|
|
|
|
| |
Tested on: PowerPC
|
|
|
|
|
|
|
|
| |
passes the fdidx from VOP_OPEN down.
This is for all I know the final API for this functionality, but
the locking semantics for messing with the filedescriptor from
the device driver are not settled at this time.
|
| |
|
|
|
|
|
| |
Supported by: FreeBSD Foundation
Noticed by: bde
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Discussed in from [FreeBSD-tech-jp 3396] to [FreeBSD-tech-jp 3407]
at FreeBSD-tech-jp@jp.freebsd.org.
NOTE: We must put ed_probe_SIC() function into if_ed_isa.c because
this is a bus dependent code. But the ed driver code is not
separated explicitly whether it is bus dependent or independent
now.
Refer to: http://plaza17.mbn.or.jp/~chi/myprog/FreeBSD/sicat.html
Submitted by: chi@bd.mbn.or.jp (Chiharu Shibata)
|
|
|
|
| |
1.638 -> 1.640 relnotes/common/new.sgml
|
|
|
|
|
|
| |
Submitted by: Hiroo Ono <hiroo@oikumene.gcd.org>,
Hiroyuki CHIBA <clin@imasy.org>
References: [doc-jp-work 724, 726]
|
|
|
|
| |
Note MFC of sk(4) support for SK-9521 V2.0 and 3COM 3C940.
|
| |
|
|
|
|
|
| |
- xe(4) driver update
- tzdata2003d update
|
| |
|
| |
|
|
|
|
|
|
|
| |
every page. If the source entry was read-only, one or more wired pages
could be in backing objects.
- vm_fault_copy_entry() should not set the PG_WRITEABLE flag on the page
unless the destination entry is, in fact, writeable.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
elevated either due to priority propagation or because we're in the
kernel in either case, put us on the current queue so that we dont
stop others from using important resources. At some point the priority
elevations from sleeping in the kernel should go away.
- Remove an optimization in sched_userret(). Before we would only set
NEEDRESCHED if there was something of a higher priority available. This
is a trivial optimization and it breaks priority propagation because it
doesn't take threads which we may be blocking into account. Notice that
the thread which is blocking others gets up to one tick of cpu time before
we honor this NEEDRESCHED in sched_clock().
|
|
|
|
|
|
|
|
|
| |
lock around a call to the original function. Make the timeout
function in callout_reset() use the wrapped function to avoid a
lock assertion panic.
Reviewed by: sam
Reported by: cgiordano@ids.net
|