| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
Provide the OOM-specific vm_pageout_oom_pagecount() function which
estimates the amount of reclamaible memory which could be stolen if
the process is killed.
|
|
|
|
|
| |
Do not skip a process which has inhibited thread due to the swap-out,
in the OOM selection loop.
|
|
|
|
|
|
|
|
|
|
| |
Minor cleanup.
Systematically use ANSI C functions definitions.
Correct type of the flags argument to the dev_pager_putpages() function.
vm_pager_free_nonreq() does not exist in stable/10, this part is not
merged.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r289452 (by trasz):
Add iscsictl(8) and iscsid(8) to rescue(8). The point is to make it
easier to build md_root images from rescue(8), to use with iSCSI boot.
The change increases the size of rescue by 62kB, from 8728kB to 8790kB.
Reviewed by: bapt@
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D3865
r289469:
Make iscsictl and iscsid build if MK_ISCSI == yes
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r290908:
Integrate contrib/netbsd-tests/lib/libcrypt/t_crypt.c in to the FreeBSD
test suite as lib/libcrypt/crypt_test
Sponsored by: EMC / Isilon Storage Division
r291615 (by rodrigc):
Hack test so that it works on FreeBSD.
|
|
|
|
| |
Link localeconv(3) to localeconv_l(3)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r283801 (by araujo):
Fix warning of implicit declaration of function 'mkdir'.
Differential Revision: D2662
Reviewed by: rodrigc, ngie
r290846:
Bump WARNS to 2
Sponsored by: EMC / Isilon Storage Division
r290851:
Change WARNS to 2 across the board with all the libc testcases
This effectively "reverts" r290846
Sponsored by: EMC / Isilon Storage Division
r290856 (by bapt):
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
r290860 (by bapt):
Remove unused variables to fix building world
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When the nfsd threads are terminated, the NFSv4 server state
(opens, locks, etc) is retained, which I believe is correct behaviour.
However, for NFSv4.1, the server also retained a reference to the xprt
(RPC transport socket structure) for the backchannel. This caused
svcpool_destroy() to not call SVC_DESTROY() for the xprt and allowed
a socket upcall to occur after the mutexes in the svcpool were destroyed,
causing a crash.
This patch fixes the code so that the backchannel xprt structure is
dereferenced just before svcpool_destroy() is called, so the code
does do an SVC_DESTROY() on the xprt, which shuts down the socket upcall.
|
|
|
|
|
|
|
|
| |
Revert r283330 since it broke directory caching in the client.
At this time I cannot see a way to fix directory caching when it
has partial blocks in the buffer cache, due to the fact that the
syscall's uio_offset won't stay the same as the lblkno * NFS_DIRBLKSIZ
offset.
|
|
|
|
|
|
|
|
|
| |
This is a direct commit since c++filt does not exist in head.
This ws racing after my SUBDIR_PARALLEL changes here recently.
Reported by: peter
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
| |
Add dependency to uether.
Reviewed by: hselasky
|
|
|
|
|
|
| |
in r291840
Sponsored by: EMC / Isilon Storage Division
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r290537:
Integrate tools/regression/lib/libc/stdio into the FreeBSD test suite
as lib/libc/tests/stdio
- Fix some whitespace
- Convert the testcases to ATF
- Convert "/dev/null" to _PATH_DEVNULL
Sponsored by: EMC / Isilon Storage Division
r290540:
printfloat_test and scanfloat_test need symbols from msun; these are automatically
provided on amd64, but not i386. Add libm to DPADD/LDADD to unbreak the i386
tinderbox
Pointyhat to: ngie
Sponsored by: EMC / Isilon Storage Division
r290560:
Convert print_positional_test over to ATF
Somehow missed in r290537
Sponsored by: EMC / Isilon Storage Division
r290856 (by bapt):
also skip the definition of ':fopen_regular' to avoid the build to fail due to
unused variables defined by ATF macros
r290871:
Disable -Wformat with scanfloat_test when compiling with gcc to avoid a
"use of assignment suppression and length modifier together in scanf format"
warning on line 90 (it's intentional)
Sponsored by: EMC / Isilon Storage Division
r291839:
Initialize errno to 0 in the nul testcase before testing it
For some odd reason stable/10 requires this, otherwise it always fails
the errno == 0 check on line 196.
Sponsored by: EMC / Isilon Storage Division
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
install: do not follow symlinks
In case the target of install is a dead symlink, install(1) used to not
consider it as "existing" because of the usage of stat(2) instead of
lstat(2). meaning the old file (the symlink) is not removed before the new
file is created. The symlink is being followed and the new file becoming the
target of the symlink instead of the target of install(1)
Reviewed by: jhb, brooks
Differential Revision: https://reviews.freebsd.org/D4191
|
|
|
|
| |
Use LIBEXECDIR for /usr/libexec.
|
|
|
|
| |
Follow-up r291330: h_testbits.h is only needed by xdr_test.
|
|
|
|
| |
Avoid requiring 'make depend' here.
|
|
|
|
| |
Replace DPSRCS that work fine in SRCS.
|
|
|
|
|
|
|
| |
r284289:
Misc fixes from projects/bmake
r288267:
Remove redundant .NOPATH.
|
|
|
|
| |
Remove redundant DPSRCS which were already in SRCS.
|
|
|
|
| |
Remove unneeded libmd from bootstrap-tools (reverting r246784).
|
|
|
|
| |
Build all of sys/modules with SUBDIR_PARALLEL.
|
|
|
|
|
| |
Rename checked-in 'includes' to 'includes.sh' to avoid colliding with
share/mk target 'make includes'.
|
|
|
|
| |
Avoid setting schg in the objtree for lib32 build.
|
|
|
|
| |
Don't allow environment-set options to bleed into src.conf.5 generation.
|
|
|
|
| |
Add SUBDIR_PARALLEL.
|
|
|
|
| |
Remove unneeded NULL as this is initialized with M_ZERO.
|
|
|
|
| |
Use memmove(3) to avoid overlapping copy.
|
|
|
|
| |
Remove unneeded mutex.h include, missed in r287155.
|
|
|
|
| |
Remove unneeded NAME override.
|
|
|
|
| |
Use more appropriate ${SHAREDIR} rather than /usr/share.
|
|
|
|
| |
Add more SUBDIR_PARALLEL.
|
|
|
|
| |
Fix building in a directory with SUBDIRs and SUBDIR_PARALLEL.
|
|
|
|
|
|
|
|
|
| |
r289289:
Fix support for building a PROG_CXX, and PROG, directly.
r290181:
Unbreak bsd.progs.mk with PROGS (but not PROGS_CXX) and when invoking the
"one of many" targets, e.g. `make hello_world`, where hello_world is a C
program
|
|
|
|
|
|
|
|
|
|
| |
r289286:
Follow-up r288218 by ensuring common objects are built before recursing.
r291338:
Fix the "common object" handling to not depend on ".o" if SRCS only
contains headers.
r291340:
Follow-up r291338 to handle .d, .y and .l files better as well.
|
|
|
|
| |
Replace gcc reference with 'cc' and document the default ${CC}.
|
|
|
|
|
|
|
| |
r289870:
Add bsd.crunchgen.mk to bsd.README.
r289871:
Sort properly.
|
|
|
|
| |
Document that we use {} for variable expansion.
|
|
|
|
| |
Remove directories disconnected since r169718.
|
|
|
|
| |
Fix wrong use of .for; the iteration variable is not used in the loop.
|
|
|
|
| |
Remove excess .else
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r289360:
Add temporary workaround for .MAKE being applied to _worldtmp, since
r251750.
r289361:
Consider top-level targets to be .PHONY as bmake won't build them otherwise
if a file with the same name is found in the directory.
r289378:
Mark sub-make targets as .MAKE and .PHONY to handle -n and always-build
properly.
r289430:
Remove .MAKE from targets that do more than just run sub-makes, such as
calling rm or mtree.
r289605:
Add missing .PHONY for parallel subdir target.
r289676:
Add some missing '+', .MAKE, and .PHONY modifiers.
|
|
|
|
|
|
|
|
|
|
|
|
| |
r284105:
Cleanup some indentation issues.
r284106:
Implement '-s' to copy as symlink, similar to the current -l link(2)
handling.
r284163:
Cleanup some style(9) issues.
Relnotes: yes
|
|
|
|
|
|
| |
ipfw: Fix dynamic IPv6 rules showing junk for non-specified address masks.
Relnotes: yes
|
|
|
|
|
|
|
|
| |
MFH (r283301, r289592, r291582): rc script improvements
MFH (r287880): respect manually configured forwarders when using DHCP
MFH (r289321): deconfuse man page
PR: 184047 203580 204931
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r290913:
Port contrib/netbsd-tests/kernel/t_mqueue.c to FreeBSD
- Add missing headers
- Ensure mqueuefs is loaded
- Make sure the mqueuefs path is absolute and relative to /
- Cast the result of mq_open returning -1 to (mqd_t) to mute a compiler
warning
Sponsored by: EMC / Isilon Storage Division
r291181:
Integrate contrib/netbsd-tests/kernel/t_mqueue into the FreeBSD test
suite as tests/sys/kern/mqueue_test
|
|
|
|
|
|
|
|
|
|
| |
Fix up convert.c generation
- Use a temporary file for convert.c to reduce likelihood of an interrupted
build resulting in bad code being written to convert.c
- Truncate the file instead of appending to it to ensure that the file being
touched will not result in duplicate declarations/definitions from
kern_acct.c if/when kern_acct.c changes.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
r291359:
Skip over lines that start with # (comments)
r291362:
r291359 was incorrect. Skip over tokens that start with `#' as fgetln can
return more than one '\n' delimited line in a buffer
Handle empty lines too, just in case
|
|
|
|
| |
Clean up trailing whitespace
|