Page MenuHomeFreeBSD

ralsaadi_swin.edu.au (Rasool)
User

Projects

User does not belong to any projects.

User Details

User Since
May 10 2016, 1:44 AM (416 w, 5 d)

Recent Activity

Sep 3 2018

ralsaadi_swin.edu.au added inline comments to D12507: Dummynet AQM usage documentation for ipfw man page.
Sep 3 2018, 4:42 AM
ralsaadi_swin.edu.au updated the diff for D12507: Dummynet AQM usage documentation for ipfw man page.

All the mistakes mentioned by the reviewers have been corrected in this patch.

Sep 3 2018, 4:37 AM
ralsaadi_swin.edu.au added a comment to D12507: Dummynet AQM usage documentation for ipfw man page.

Thanks a lot for reviewing ipfw AQM man page patch. I have corrected all the mistakes that you mentioned and created a new patch against the current ipfw.8 man page.

Sep 3 2018, 4:35 AM
ralsaadi_swin.edu.au added a comment to D12507: Dummynet AQM usage documentation for ipfw man page.
Sep 3 2018, 4:33 AM

Jul 6 2018

ralsaadi_swin.edu.au updated the diff for D12507: Dummynet AQM usage documentation for ipfw man page.

Thank you for reviewing the patch. I have revised that patch and checked it using mandoc -Tlint and igor. Hopefully, it is OK now.

Jul 6 2018, 4:02 AM

Sep 26 2017

ralsaadi_swin.edu.au created D12507: Dummynet AQM usage documentation for ipfw man page.
Sep 26 2017, 2:44 PM
ralsaadi_swin.edu.au created D12506: Enabling Dummynet AQM for layer2 bridged traffic.
Sep 26 2017, 1:50 PM

Jul 11 2016

ralsaadi_swin.edu.au retitled D7174: Dummynet FQ-PIE AQM: Fix potential race conditions in stopping callout and freeing the allocated memory from to Dummynet FQ-PIE AQM: Fix potential race conditions in stopping callout and freeing the allocated memory.
Jul 11 2016, 1:48 AM

Jul 5 2016

ralsaadi_swin.edu.au added a comment to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.

Should I remove DN_BH_WLOCK()/DN_BH_WUNLOCK() and use atomic_add_int() instead?
Is the patch reasonable now?

Jul 5 2016, 1:28 AM

Jul 4 2016

ralsaadi_swin.edu.au added a comment to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.

Sorry if my thought is incorrect but just to explain my idea of using DN_BH_WLOCK():
1- ref_count (namely pie_desc.ref_count) is updated only by PIE module and checked (read access) by unload_dn_sched() in ip_dummynet.c.
2- ref_count in unload_dn_sched() is accessed with DN_BH_WLOCK()
3- ref_count in PIE module is updated when DN_BH_WLOCK() is held (either explicitly by calling DN_BH_WLOCK() in PIE module or implicitly by Dummynet somewhere before call PIE functions.
So, is the lock I added still isn't sufficient?
Anyway, using atomic_add_int() is much easier than dealing with deadlocks ;-)

Jul 4 2016, 4:18 AM
ralsaadi_swin.edu.au updated the diff for D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.

If PIE ref_count is decremented by the user thread after callout_reset_sbt(), how we guarantee that pie_callout_cleanup() finished its execution?
Thus, I used DN_BH_WLOCK() and DN_BH_WUNLOCK() (provided by Dummynet) to make ref_count manipulation atomic.

Jul 4 2016, 12:12 AM

Jul 1 2016

ralsaadi_swin.edu.au updated the diff for D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.

Based on truckman (Don Lewis) suggestions, the race fixed by resetting the callout in aqm_pie_cleanup() to call pie_callout_cleanup() and removing memory freeing from calculate_drop_prob(). No additional flags are needed.
This patch was tested and no kernel panic happens.

Jul 1 2016, 3:13 AM

Jun 30 2016

ralsaadi_swin.edu.au added inline comments to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.
Jun 30 2016, 6:49 AM
ralsaadi_swin.edu.au added a comment to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.

fq_pie also has a callout but no kernel panic has been reported for fq_pie. After we finish from PIE fixing we can have a look at fq_pie.

Jun 30 2016, 3:57 AM
ralsaadi_swin.edu.au added inline comments to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.
Jun 30 2016, 3:52 AM

Jun 29 2016

ralsaadi_swin.edu.au updated the diff for D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.

Based on truckman suggestion, the callout_pending()/callout_active()/callout_deactivate() stuff has been removed since they are not required when callout_init_mtx() is used.

Jun 29 2016, 3:19 AM
ralsaadi_swin.edu.au added inline comments to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.
Jun 29 2016, 1:59 AM

Jun 24 2016

ralsaadi_swin.edu.au added inline comments to D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.
Jun 24 2016, 12:04 AM

Jun 23 2016

ralsaadi_swin.edu.au retitled D6928: Dummynet PIE AQM: Fix kernel panic due to a race condition in callout from to Dummynet PIE AQM: Fix kernel panic due to a race condition in callout.
Jun 23 2016, 3:30 AM