- User Since
- Nov 13 2017, 4:43 AM (79 w, 1 d)
Svn up and resolved conflicts.
r347984 creates conflicts for lio_bsd.h and if_cdce.c.
I need to svn up and rebase.
Fri, May 17
More _KERNEL adjustments.
Remove one more extra prototype.
Replace ifdef USERSPACE_TESTING to ifndef _KERNEL.
Thu, May 16
Wed, May 15
It looks this change hasn't yet committed.
Delete unneeded comments and put 2019 May.
Tue, May 14
This change requires https://reviews.freebsd.org/D20193 to address duplicate crc32() API between zlib and libkern.h.
I will make some minor adjustments after that's done.
Don't touch ZFS module, yet.
I split the original change-set to multiple ones.
I was able to link both old and new versions of zlib at same time over weekend.
So, this change became no longer immediate blocker.
I thought it would be nicer to address zlib conversion in a single commit instead of two commits once upon time.
Exclude unintended files... :(
Delete comments about usage of STD_PROBE5.
Mon, May 13
It looks I can put 2 versions of zlib into kernel.
Let's wait and see.
Sun, May 12
Rename libkern/crc32.c to libkern/kern_crc32.c to avoid having same object
filename as zlib/crc32.c.
I'd like to rename libkern/crc32.c to libkern/kern_crc32.c so that we don't get object filename conflict with zlib/crc32.c as well.
I'm having difficulties with arc diff...
Fri, May 10
Thu, May 9
Fixed function prototype style.
Wed, May 8
Combine SCTP cases.
Exclude unintended change.
Tue, May 7
Relocation of contrib/zlib to sys/contrib/zilb is making the biggest noise in the diff.
Sat, May 4
Fri, May 3
Deleted uncalled functions from ng_zlib.c and reverted z_ prefixes.
Thu, May 2
Reverted aout.4 and also add "zlib" in sys/conf/files (I think we need this for "device").
Use zlib uncompress function and updated README.
Tue, Apr 23
Created "device zlib" and updated dependencies.
Sun, Apr 21
Deleted sys/inflate.h from mips and i386's kgzip and kgzldr.
Apr 12 2019
Removed personal notes.
Apr 10 2019
Both buildworld and buildkernel finises without a problem.
Use bsd.kmod.mk to share ZLIB_CFLAGS.
Moved contrib/zlib to sys/contrib/zlib.
Apr 9 2019
Created own std header wrapper instead of using zstd's.
Apr 8 2019
Few changes were missed in the last review.
ZLIB was modified to compile with -DNO_GZIP to avoid including stdlib.h once.
However, ZFS uses GZIP in its own zlib clone and thus adjusted again to work
ZLIB without -DNO_GZIP.
With ZFS's zconf.h, ZLIB symols were renamed to z_* and few of them were zz_*.
zmod implementatoins are prefixed with zmod_* to avoid conflicts.
Apr 5 2019
Actually zfs uses zlib but its own copy, zmod, and it has few extra funcions.
Apr 3 2019
A couple of month delay is a minor.
I just started thinking to add few more enhancements.
It will be nice if you pick up next one, too ( coming in a couple of months, too).
Uncomment some of zlib prototypes to ensuring they are static functions.
-Wno-cast-qual for deflate.c only.
Moved old zlib files to netgraph/ng_zlib and made all ng_zlib functions static.
Apr 1 2019
Mar 31 2019
PROBE6 for cryptodeflate.
Removed ifndef in zlib, stopped using -DNO_GZIP, and removed opensolaris/.../zmod
Mar 30 2019
Mar 29 2019
libkern/kern_zlib.c to compile contrib/zlib files.
Redo svn mv sys/sys/zlib.h sys/netgraph/zlib.h.
Updating review via arc diff instead of svn diff.
Renamed sys/sys/zlib.h to sys/sys/kern_zlib.h.
Changed _KERNEL_ to MIN for ifdef check in deflate.c.
Mar 28 2019
Thank you for your feedback.
Mar 26 2019
Jan 4 2019
Removed some of experimental code.
Jan 3 2019
Aug 21 2018
Aug 16 2018
Aug 15 2018
Mar 4 2018
Feb 10 2018
Intention of these changes were to improve reuse of code and also reduce number of locks.
Feb 6 2018
vm_page_free_phys_pglist(&pgl) was removed once by a mistake.
Renamed the function and updated styles based on comments.
Jan 3 2018
Removed #if 0 and added a blank line in swp_pager_launder_vmpage().
Simplify "offset" adjustments.
Dec 31 2017
Removed object argument from 2 swp_pager_*_vmpage functions
Dec 30 2017
Dec 19 2017
Dec 18 2017
Renamed to vm_page_free_zero_pages() and it takes boolean_t to update wire count.
Call atomic_subtract_int(&vm_cnt.v_wire_count, count), too if a caller instructs so.
Replaced pmap_free_zero_pages with vm_page_free_spglist().
I will handle wire_count upon next changeset.