Move vm_object_pip_wakeup() and vm_pager_page_unswapped() back to swp_pager_force_pagein().
- Queries
- All Stories
- Search
- Advanced Search
- Transactions
- Transaction Logs
Advanced Search
Jun 12 2019
Jun 7 2019
Change -= SWAP_META_PAGES to %= SWAP_META_PAGES.
Jun 6 2019
Revert back some changes.
I don't think swp_pager_find_continuous() was a good idea/implementation. I will revert it shortly.
Jun 5 2019
Thank you for taking a look.
Created swp_pager_find_continuous instead of calling swap_pager_haspage().
Jun 4 2019
Doug, thank you for elaboration.
Let's see how that approach works this time.
When I started and tried, it wasn't as easy and I decided to take advantages of existing functions.
Resolve conflicts, fix style, and break a function.
Jun 1 2019
May 31 2019
Exp-run info: https://www.freebsd.org/doc/en/articles/committers-guide/ports.html#ports-exp-run
For example https://bugs.freebsd.org/214864 is the exp-run I requested for lld.
I agree that there shouldn't be any ports using sys/dir.h still but it is still good to confirm that prior to the commit. (Here it's almost certainly been long enough that it's not necessary, but is a best practice.)I'll ask in the #bsdports channel if anyone there thinks it's necessary.
I updated test case section with performance measurement.
What do you mean by "an exp-run?" I had made buildworld and buildkernel successful on i386. Universe will be better but I don't have enough disk space.
May 30 2019
May 29 2019
Fix KERN to GSB.
After research, I found that our crc32 functions are based on the code written
by Gary S Brown. We also have many other *crc32.[hc] files, too. Rather than,
prefixing with kern, prefix with his initial to honor his work.
It looks kern prefix is used for sub-systems.
May 25 2019
Fix style.
KASSERT rearragements.
May 24 2019
Reverted few of experiments back to a working code.
This also crashed.
This crashed.
Reverted KASSERT.
Also experimented without calling swap_pager_haspage().
The result was instant reboot.
I will revert and fix KASSERTs.
I will also test removing swap_pager_haspage() call.
Moved i -= SWAP_META_PAGES decrement and update variables to print in KASSERT.
May 23 2019
Thank you for review comments.
Given loops changed a lot, I'd like to send more time testing the recent changes.
I also want to update some comments in the code to be more descriptive and clear.
Simplify the swp_blks loop and adjust style.
May 22 2019
Delete an extra empty line.
It is boolean_t type and thus check TRUE instead of true.
Take return value of vm_pager_has_page() as boolean instead of int.
Fixed typo.
Adjusted baesd on review comments for function names and nested loop to a loop.
I didn't realize I had had comments on this.
I sincerely apologize.
Doug have made lots of improvements in this area and I'm not sure if this patch/changeset applies to the latest code base.
I will take a look.
May 20 2019
Svn up and resolved conflicts.
r347984 creates conflicts for lio_bsd.h and if_cdce.c.
I need to svn up and rebase.
May 17 2019
More _KERNEL adjustments.
Remove one more extra prototype.
Replace ifdef USERSPACE_TESTING to ifndef _KERNEL.
May 16 2019
May 15 2019
It looks this change hasn't yet committed.
Delete unneeded comments and put 2019 May.
May 14 2019
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.
May 13 2019
It looks I can put 2 versions of zlib into kernel.
Let's wait and see.
May 12 2019
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...
May 10 2019
May 9 2019
Fixed function prototype style.
May 8 2019
Combine SCTP cases.
Exclude unintended change.
May 7 2019
Relocation of contrib/zlib to sys/contrib/zilb is making the biggest noise in the diff.
May 4 2019
May 3 2019
Deleted uncalled functions from ng_zlib.c and reverted z_ prefixes.
May 2 2019
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.
Apr 23 2019
Created "device zlib" and updated dependencies.
Apr 21 2019
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.