Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use coccinelle to change logging macro calls in c files | Vincent Sanders | 2017-09-06 | 1 | -27/+46 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for F in $(git ls-files '*.c');do spatch --sp-file foo.cocci --in-place ${F};done @@ expression E; @@ -LOG(E); +NSLOG(netsurf, INFO, E); @@ expression E, E1; @@ -LOG(E, E1); +NSLOG(netsurf, INFO, E, E1); @@ expression E, E1, E2; @@ -LOG(E, E1, E2); +NSLOG(netsurf, INFO, E, E1, E2); @@ expression E, E1, E2, E3; @@ -LOG(E, E1, E2, E3); +NSLOG(netsurf, INFO, E, E1, E2, E3); @@ expression E, E1, E2, E3, E4; @@ -LOG(E, E1, E2, E3, E4); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4); @@ expression E, E1, E2, E3, E4, E5; @@ -LOG(E, E1, E2, E3, E4, E5); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5); @@ expression E, E1, E2, E3, E4, E5, E6; @@ -LOG(E, E1, E2, E3, E4, E5, E6); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6); @@ expression E, E1, E2, E3, E4, E5, E6, E7; @@ -LOG(E, E1, E2, E3, E4, E5, E6, E7); +NSLOG(netsurf, INFO, E, E1, E2, E3, E4, E5, E6, E7); | ||||
* | Add more clib2 stats | Chris Young | 2016-11-27 | 1 | -4/+37 |
| | | | | JSON formatted data can now be saved with ARexx "SLABSTATS stats.json" | ||||
* | AmigaOS low memory handler attempt 2 | Chris Young | 2016-11-27 | 1 | -4/+43 |
| | | | | | | | Neither freeing slabs nor purging the cache are safe to call from interrupts, so instead we schedule these to run on NetSurf's process. If NetSurf is busy, there may be significant delay, so the priority is set low to ensure this is called only when other - faster - memory handlers have been exhausted. I don't know if this works, or is sane, as I'm not entirely sure how to test it. Something similar needs adding for OS4 but low memory is less of an issue there, so will see if this works on OS3 first. | ||||
* | Ensure the memory for the mem-handler interrupt is allocated | Chris Young | 2016-11-27 | 1 | -2/+5 |
| | |||||
* | Add low memory handler to purge unused slabs on OS3 | Chris Young | 2016-11-27 | 1 | -0/+30 |
| | | | | TODO: find some way to purge NetSurf's memory cache safely from another process | ||||
* | Reduce slab size to 2K as very few allocations are above that. | Chris Young | 2016-11-20 | 1 | -1/+1 |
| | |||||
* | Get clib2 slab usage | Chris Young | 2016-11-20 | 1 | -3/+32 |
| | | | | Calling ARexx function "SLABSTATS" will dump the current stats to the ns log | ||||
* | Move ItemPool compatiblity into the header and rename | Chris Young | 2016-11-20 | 1 | -56/+1 |
| | |||||
* | remove ami_misc_allocvec_clear | Chris Young | 2016-11-19 | 1 | -11/+0 |
| | |||||
* | Change some AllocVecs to mallocs and FreeVecs to free | Chris Young | 2016-11-19 | 1 | -0/+22 |
| | | | | Need to be careful with ASPrintf | ||||
* | Move slab size def into memory.c | Chris Young | 2016-11-19 | 1 | -0/+4 |
| | |||||
* | Add memory.c/h | Chris Young | 2016-11-19 | 1 | -0/+75 |