- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sw_trigger questions
Operating System - HP-UX
1756973
Members
1746
Online
108857
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-21-2009 08:37 AM
10-21-2009 08:37 AM
sw_trigger questions
The Driver Development Guide says "The sw_trigger() routine checks to see if the structure to which intloc points is already on the trigger queue. If it is, the kernel throws this request away, thus permitting only one pending request per sw_intloc structure."
Two questions:
1) How is the equality comparison performed? Is it by address (i.e., a given sw_intloc structure at a particular address cannot be added to the trigger queue a second time, even if its contents have been changed since it was first added) or by content (i.e., a new sw_intloc structure cannot be added to the trigger queue if its contents are identical to a structure already on the queue)?
2) At what point is the sw_intloc structure removed from the queue, thereby allowing it to be added again? Does this happen before the function the software trigger invokes is called, or after it returns?
Two questions:
1) How is the equality comparison performed? Is it by address (i.e., a given sw_intloc structure at a particular address cannot be added to the trigger queue a second time, even if its contents have been changed since it was first added) or by content (i.e., a new sw_intloc structure cannot be added to the trigger queue if its contents are identical to a structure already on the queue)?
2) At what point is the sw_intloc structure removed from the queue, thereby allowing it to be added again? Does this happen before the function the software trigger invokes is called, or after it returns?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP