//

Getting this website up and running

The challenges of Docker and KVM on the same machine with a reverse proxy.

Continue reading...

code

Maple tree mas_{next,prev}_range() and cleanup v3

2023-05-18 11:00:31

Almost there. Squash, pr_warn() on same line, export fix, bug fixes. v3 here

default
code

Maple tree mas_{next,prev}_range() and cleanup v4

2023-05-18 11:02:08

V3 date is wrong, it was actually the 12th. This is v4. Not a lot changed.

default
design

LSF/MM 2023

2023-05-08 10:58:45

Event Page and schedule

default
code

Maple tree mas_{next,prev}_range() and cleanup v2

2023-05-05 10:57:22

Updated with fixes here. v2

default
code

Maple tree mas_{next,prev}_range() and cleanup

2023-04-25 10:55:39

Adding WARN_ON/BUG_ON, test module update, add mas_prev_range() mas_next_range(). Find v1 here

default
code

mas_empty_area() search v1

2023-04-19 10:53:52

This is a scary one about the stack guard. v1 v2 v3

default
code

Fix VMA tree modification under mmap read lock

2023-03-27 10:50:56

Syzbot was able to trigger a UAF due to the maple tree work. Thsi resulted in enabling the RCU mode by default. See the details here

default
code

vma iterator v4

2023-01-20 12:01:55

Andrew reported the emails were in the wrong format, and another patch. Vlastimil also added another call to vma_adjust(). Hopefully the final respin.

default
code

vma iterator v3

2023-01-17 11:54:04

v2 had an inter-patch compile issue so it was pulled from linux-next, but not before a bot reported an issue. See the new patches

default
code

vma iterator v2

2023-01-05 11:51:18

Update the vma type-safe returns of the vma iterator Check out the code

default
code

vma iterator v1

2022-11-29 11:49:01

Linus requested type-safe vma returns. I added a wrapper to the maple tree. Find v1 here

default
code

Maple Tree to Linus

2022-10-08 22:57:12

AKPM's pull request for maple tree from the mm branch to Linus was sent out for v6.1-rc1

default
software

LPC2022 Maple Tree Unedited

2022-09-14 23:08:07

Here is a link to my LPC 2022 talk pre-editing. It's one huge day of video in a single link.

default
code

maple tree v14

2022-09-06 21:21:39

Posted the hopefully final version 14 of the maple tree today Find it here.

default
code

vma locking

2022-08-22 14:29:32

The locking order of VMAs is documented in mm/rmap.c. For example see this.

default
code

page cache problem

2022-08-22 14:30:48

There is a good description of the page cache problem in mm/workingset.c. For example please read this.

default
code

maple tree v13

2022-08-22 21:23:35

There will probably be one more, but here is v13.

default
code

Maple Tree v12

2022-07-19 12:05:17

V12 was spun because of the complex changes in the patch set that just removed the optimization in do_brk_munmap(). There is a locking mess in there that wasn't setup correctly, so Hugh wanted me to remove the optimization. Found here.

default
code

Maple Tree V11

2022-07-17 12:03:06

V11 was a major step in stabilization. A long standing issue in mas_wr_node_store() was fixed to avoid stale data being copied to a new node. There are a lot of lock fixes. Have a look here.

default
code

Maple Tree v10

2022-06-21 12:00:33

V10 had a number of tree fixes along with allocation fixes on top of the v9 mess. A number of nommu build issues. Have a look.

default
code

Maple Tree v9

2022-05-04 11:58:04

V9 was the one I messed up. There's a bunch of emails on that. The two main ones are: here and here

default
software

LFSMM 2022

2022-05-03 23:02:07

Here is a link to the video of my talk at LFSMM 2022

default
code

Maple Tree Pull to MMOTM (v8)

2022-04-26 11:04:39

Sent out v8 with preallocations to avoid fs-reclaim issue while holding the imap rwsem. Mailing list permalink

default
code

Maple Tree Pull to MMOTM (v7)

2022-04-04 10:50:38

Sent to linux-mm here

default
code

Maple Tree Pull to Next

2022-02-16 21:34:41

Finally sent out the pull request for the Maple Tree.. messed up the git url

default
code

The Maple Tree v6

2022-02-15 11:16:27

Hopefully the final version of the patch set before the pull request has been posted.

default
code

The Maple Tree v5

2022-02-02 00:00:00

Version 5 of the maple tree was posted

default
code

The Maple Tree v4

2021-11-30 10:38:44

Locking changes, remove flag passthrough, etc. See the full log here.

default
code

The Maple Tree v3

2021-10-04 11:40:52

Reworked store operation, lockdep fixes, metadata node end, and MORE! Find ithere.

default
software

LPC 2021 VMA life cycle

2021-09-24 00:00:00

I managed to get a BoF for VMA Life Cycle added to LPC 2021. Watch it here

default
software

RCU Maple Tree Perf

2021-09-23 11:49:50

Here is a link to Paul McKenney and Matthew Wilcox talk about the maple tree performance at LPC 2021

default
software

LPC 2021 Maple Tree

2021-09-23 11:51:20

Here is a link to my talk on the maple tree at LPC 2021. Matthew had to take over while my internet was out.

default
code

The Maple Tree v2

2021-08-17 15:57:57

The maple tree v2 is much smaller with 61 patches. vma_lookup() landed previously. Find the patches here

default
code

vma_lookup() lands!

2021-05-21 15:56:38

My first large patch set adds vma_lookup() API to the mm subsystem. 22 patches. Read about v2 here

default
code

Introducing the Maple Tree

2021-04-28 15:53:48

This is the first time I sent the maple tree as a patch set to the linux-mm list. read more.

default
software

mailing list searches

2021-04-12 21:23:55

When referencing email, use lore.kernel.org

default
software

Rusty's API Design Manifesto

2021-04-08 15:30:23

Here is a list of Rusty's API design manifesto. Both positive and negative.

default
software

Rusty's Hard To Misuse Positive Score

2021-04-08 15:30:35

Rusty has a list to score interfaces on how hard they are to misuse on Rusty's Bleeding Edge Page. Worth checking out.

default
code

LTP brk02

2021-03-17 09:55:47

The patch was merged here. Attempted in February

default
code

RFC v2 Introducing the Maple Tree

2021-01-12 17:23:34

RFC v2 of The Maple Tree. Changes since last RFC: - rebased against 5.10 and updated benchmarks - Transitioned more internal mm operations to using maple states - Removed the mm_struct linked list as well as the maximum address - Replaced external linked list operations by maple tree iterators or searches

/var/www/criticware/html/cards/13.png
software

Maple Tree LPC2019

2019-09-09 16:18:55

Here is a link to my talk at the Linux Plumbers Talk 2019.

/var/www/criticware/html/cards/12.png

About

Coveres topics I find interesting and may want to revisit at a later date. I'm providing them here as a way to help others on a similiar path. The site name originated from an old idea which never materialized.

Archives

  1. Nothing

Random Thoughts

Namesake

The idea behind criticware.com came to me at a job I long to forget. I was working on a project that was doomed to fail in the departure lounge. We were constantly on the search for tools that didn't suck and had to install/remove many software packages. Regardless of what software was installed, there was almost always some crud left over somewhere from the install after removal, eventually causing the systems to become even slower. This was a huge issue as the computers were already bogged down running eclipse on limited RAM, most also had the capacitor problem - one of the reasons I drink so hard in attempt to forget this job altogether.

The idea was to use VMs to test what crud was left over from any installed/removed system. We could formulate a ranking of how poorly coded each software removal was and how to go about restoring a system to the original state.

I still think this idea has merrit, but for mobile privacy and data access methods.