Page MenuHomeFreeBSD

pratyush (Pratyush Yadav)
User

Projects

User does not belong to any projects.

User Details

User Since
May 21 2018, 7:51 AM (309 w, 2 d)

Recent Activity

Feb 19 2019

pratyush updated the diff for D18550: Implemented the Xen-specific bus_dma(9) grant table handlers.

Removed an unnecessary return statement at the end of xen_gnttab_free_callback(), which has the return type void.

Feb 19 2019, 7:29 PM
pratyush updated the diff for D18552: Updated the blkfront driver to use the Xen-specific dma implementation.

Fixed xbd_max_request_segments being incorrectly set to 0

Feb 19 2019, 7:26 PM

Dec 14 2018

pratyush created D18553: Updated the netfront driver to use the Xen-specific dma implementation.
Dec 14 2018, 1:29 PM
pratyush created D18552: Updated the blkfront driver to use the Xen-specific dma implementation.
Dec 14 2018, 1:26 PM
pratyush created D18551: Updated xenpv.c to use the Xen-specific dma tag.
Dec 14 2018, 1:22 PM
pratyush created D18550: Implemented the Xen-specific bus_dma(9) grant table handlers.
Dec 14 2018, 1:18 PM

Sep 23 2018

pratyush added a comment to D16917: Xen netfront: Fixed missing mutex destruction.

Ping

Sep 23 2018, 1:28 PM

Sep 6 2018

pratyush added a comment to D16917: Xen netfront: Fixed missing mutex destruction.

Ping.

Sep 6 2018, 12:24 PM

Aug 27 2018

pratyush created D16917: Xen netfront: Fixed missing mutex destruction.
Aug 27 2018, 10:07 AM

Aug 26 2018

pratyush added a comment to D16446: Xen: Fix potential page faults in the grant_table.c.

Thoughts on changing the condition mentioned in the previous comment to a KASSERT?

Aug 26 2018, 8:07 PM

Jul 31 2018

pratyush closed D15553: Xen: Removed some leftover code from gnttab.h.

Committed by Roger as rS334205

Jul 31 2018, 9:17 AM
pratyush closed D16045: Xen blkfront: Fixed wrong error code return in xbd_dump().

Committed by Roger as rS336895

Jul 31 2018, 9:16 AM
pratyush closed D16136: Xen blkfront: Fixed memory leak in xbd_connect().

Committed by Roger as rS336896

Jul 31 2018, 9:13 AM

Jul 30 2018

pratyush added a comment to D16446: Xen: Fix potential page faults in the grant_table.c.

Before you commit this, I just noticed that gnttab_free_grant_references() does

if (head == GNTTAB_LIST_END)
	return;
Jul 30 2018, 4:50 PM
pratyush updated the diff for D16446: Xen: Fix potential page faults in the grant_table.c.

Turned the check into a KASSERT.

Jul 30 2018, 4:43 PM
pratyush added a comment to D16136: Xen blkfront: Fixed memory leak in xbd_connect().

Probably a difference in the tab width. I don't get why there is indentation with both tabs and spaces in a single line. The entire blkfront code is like that. Some places its all tabs, some places it is a mix of tabs and spaces for indentation. Its weird and confusing.

Jul 30 2018, 11:29 AM
pratyush added a comment to D16446: Xen: Fix potential page faults in the grant_table.c.

Ping.

Jul 30 2018, 10:36 AM
pratyush created D16505: Xen: Make gnttab_list_lock a recursive lock.
Jul 30 2018, 10:35 AM

Jul 26 2018

pratyush created D16446: Xen: Fix potential page faults in the grant_table.c.
Jul 26 2018, 5:45 AM

Jul 9 2018

pratyush updated the diff for D16136: Xen blkfront: Fixed memory leak in xbd_connect().

Updated the diff to add flag M_NOWAIT to the contigmalloc() used to allocate the indirection pages. Also, added a NULL check there in case contigmalloc fails.

Jul 9 2018, 9:40 AM
pratyush added a comment to D16136: Xen blkfront: Fixed memory leak in xbd_connect().

The contigmalloc(9) man page says only 2 flags can be used: M_NOWAIT and M_ZERO. All other flags (if present) will be ignored. So M_WAITOK can not be used.

Jul 9 2018, 9:08 AM
pratyush added a comment to D16136: Xen blkfront: Fixed memory leak in xbd_connect().

I asked on freebsd-hackers@ mailing list, and Conrad Meyer says that contigmalloc() can fail even when M_NOWAIT is not specified. Link to the email.

Jul 9 2018, 8:39 AM

Jul 5 2018

pratyush updated the diff for D16136: Xen blkfront: Fixed memory leak in xbd_connect().

Removed the NULL check.

Jul 5 2018, 9:50 AM
pratyush added inline comments to D16136: Xen blkfront: Fixed memory leak in xbd_connect().
Jul 5 2018, 9:48 AM
pratyush added inline comments to D16136: Xen blkfront: Fixed memory leak in xbd_connect().
Jul 5 2018, 9:30 AM
pratyush added inline comments to D16136: Xen blkfront: Fixed memory leak in xbd_connect().
Jul 5 2018, 9:06 AM
pratyush created D16136: Xen blkfront: Fixed memory leak in xbd_connect().
Jul 5 2018, 8:28 AM

Jul 3 2018

pratyush updated the diff for D16045: Xen blkfront: Fixed wrong error code return in xbd_dump().

I updated the diff. Your call if you want to commit the change or leave it as it is.

Jul 3 2018, 7:41 AM

Jul 2 2018

pratyush added a comment to D16045: Xen blkfront: Fixed wrong error code return in xbd_dump().

Any comments?

Jul 2 2018, 10:00 AM

Jun 28 2018

pratyush created D16045: Xen blkfront: Fixed wrong error code return in xbd_dump().
Jun 28 2018, 11:56 AM

Jun 19 2018

pratyush created D15899: Xen: Added missing check for free callbacks in gnttab_end_foreign_access_references().
Jun 19 2018, 9:11 AM

May 24 2018

pratyush created D15553: Xen: Removed some leftover code from gnttab.h.
May 24 2018, 3:21 PM